Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 105.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 68.12 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8329, allocations: 160.7 MB / 1.213 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002721/0.8356, allocations: 1.262 MB / 1.214 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006979/0.8363, allocations: 302.8 kB / 1.214 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.8364, allocations: 0.7188 kB / 1.214 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.8364, allocations: 0 / 1.214 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.8364, allocations: 4.656 kB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.8368, allocations: 49.42 kB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.8369, allocations: 23.86 kB / 1.215 GB, free: 2.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.8369, allocations: 10.22 kB / 1.215 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.8369, allocations: 4 kB / 1.215 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.837, allocations: 3.844 kB / 1.215 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.837, allocations: 0 / 1.215 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.8372, allocations: 61.56 kB / 1.215 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.8372, allocations: 16.95 kB / 1.215 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.8372, allocations: 3.156 kB / 1.215 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.8374, allocations: 46.33 kB / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8374, allocations: 0 / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8374, allocations: 1.125 kB / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8374, allocations: 0 / 1.215 GB, free: 2.605 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004642/0.8378, allocations: 339.3 kB / 1.215 GB, free: 2.234 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.8379, allocations: 10.06 kB / 1.215 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.8379, allocations: 35.84 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.8382, allocations: 19.06 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.8383, allocations: 161.5 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.8383, allocations: 5.453 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.8383, allocations: 1.438 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.8384, allocations: 45.25 kB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.8385, allocations: 4.812 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8385, allocations: 0 / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8385, allocations: 1.062 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.8385, allocations: 20.39 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.8387, allocations: 162.8 kB / 1.215 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.8407, allocations: 263.5 kB / 1.216 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.8407, allocations: 16.52 kB / 1.216 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.8408, allocations: 3.984 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.8408, allocations: 31.62 kB / 1.216 GB, free: 1.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.8408, allocations: 5.156 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.841, allocations: 72.36 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.841, allocations: 52.47 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.8411, allocations: 95.02 kB / 1.216 GB, free: 1.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.8411, allocations: 31.02 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.8412, allocations: 80.14 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.8412, allocations: 13.3 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.8412, allocations: 24.81 kB / 1.216 GB, free: 1.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8414, allocations: 315.8 kB / 1.216 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.8414, allocations: 8.594 kB / 1.216 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.8414, allocations: 4.562 kB / 1.216 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.8415, allocations: 36.28 kB / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.8415, allocations: 0 / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.18e-05/0.8416, allocations: 53.59 kB / 1.216 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8416, allocations: 8.562 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8416, allocations: 1.156 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8416, allocations: 0 / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.8417, allocations: 5.688 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8417, allocations: 4 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.8417, allocations: 0.9062 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.8417, allocations: 1.891 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.8418, allocations: 107.4 kB / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.8418, allocations: 5.406 kB / 1.217 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.8418, allocations: 11.48 kB / 1.217 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.8418, allocations: 4.734 kB / 1.217 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8418, allocations: 1.125 kB / 1.217 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8419, allocations: 4 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.842, allocations: 159 kB / 1.217 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.842, allocations: 4 kB / 1.217 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.842, allocations: 9.438 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.842, allocations: 3.938 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.8421, allocations: 1.125 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8421, allocations: 0 / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8421, allocations: 1.094 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.8422, allocations: 73.47 kB / 1.217 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.8422, allocations: 90.67 kB / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.8423, allocations: 4.875 kB / 1.217 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.8423, allocations: 5.094 kB / 1.217 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.8423, allocations: 5.062 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.8423, allocations: 2.156 kB / 1.217 GB, free: 248 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.8424, allocations: 75.28 kB / 1.217 GB, free: 172 kB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.8424, allocations: 1.312 kB / 1.217 GB, free: 172 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000189/0.8426, allocations: 9.219 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004848/0.8431, allocations: 0.6187 MB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.8432, allocations: 26.08 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8432, allocations: 0 / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.8432, allocations: 15.94 kB / 1.218 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.8435, allocations: 21.02 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.844, allocations: 150.4 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.8443, allocations: 0.6772 MB / 1.219 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.8444, allocations: 5.062 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.8444, allocations: 9.656 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8444, allocations: 0 / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.8683, allocations: 1.331 MB / 1.22 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.987, allocations: 1.828 kB / 1.22 GB, free: 13.89 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.904105519875884]