Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.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.001241/0.001241, allocations: 109 kB / 17.54 MB, free: 4.746 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.001148/0.001148, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.277/1.277, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.445/2.445, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7689, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1704/0.9392, allocations: 149.6 MB / 1.417 GB, free: 8.949 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.9435, allocations: 3.64 MB / 1.421 GB, free: 6.027 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.9436, allocations: 6.156 kB / 1.421 GB, free: 6.023 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.9439, allocations: 65.86 kB / 1.421 GB, free: 5.973 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.9442, allocations: 140.7 kB / 1.421 GB, free: 5.859 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.9465, allocations: 1.041 MB / 1.422 GB, free: 5.098 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.9469, allocations: 317 kB / 1.423 GB, free: 4.938 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.947, allocations: 10.59 kB / 1.423 GB, free: 4.934 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.9473, allocations: 202.2 kB / 1.423 GB, free: 4.82 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.9475, allocations: 142.1 kB / 1.423 GB, free: 4.738 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.9475, allocations: 11.47 kB / 1.423 GB, free: 4.738 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.9496, allocations: 1.286 MB / 1.424 GB, free: 4.004 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.9497, allocations: 70.81 kB / 1.424 GB, free: 3.957 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.9498, allocations: 109.7 kB / 1.424 GB, free: 3.898 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000962/0.9508, allocations: 0.6385 MB / 1.425 GB, free: 3.539 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9508, allocations: 0 / 1.425 GB, free: 3.539 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9508, allocations: 4 kB / 1.425 GB, free: 3.535 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.9508, allocations: 0 / 1.425 GB, free: 3.535 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001084/0.9519, allocations: 0.593 MB / 1.426 GB, free: 3.004 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.9519, allocations: 10.19 kB / 1.426 GB, free: 3.004 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.952, allocations: 54.8 kB / 1.426 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.9531, allocations: 140.2 kB / 1.426 GB, free: 2.883 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.9533, allocations: 226.1 kB / 1.426 GB, free: 2.641 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.9533, allocations: 12.41 kB / 1.426 GB, free: 2.637 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.9534, allocations: 24.08 kB / 1.426 GB, free: 2.625 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.9539, allocations: 337.9 kB / 1.426 GB, free: 2.406 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9539, allocations: 0 / 1.426 GB, free: 2.406 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.9539, allocations: 15.69 kB / 1.426 GB, free: 2.395 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.954, allocations: 11.38 kB / 1.426 GB, free: 2.395 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.9545, allocations: 322.8 kB / 1.427 GB, free: 2.254 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.956, allocations: 1.115 MB / 1.428 GB, free: 1.254 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.9565, allocations: 176.6 kB / 1.428 GB, free: 1.176 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.9566, allocations: 77.91 kB / 1.428 GB, free: 1.137 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.9571, allocations: 464.9 kB / 1.428 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.9572, allocations: 41.78 kB / 1.428 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.9572, allocations: 0 / 1.428 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.0006313/0.9578, allocations: 258.1 kB / 1.429 GB, free: 476 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.9578, allocations: 52.56 kB / 1.429 GB, free: 412 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.958, allocations: 219.9 kB / 1.429 GB, free: 240 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.9581, allocations: 32.89 kB / 1.429 GB, free: 204 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.9582, allocations: 143.6 kB / 1.429 GB, free: 64 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.9583, allocations: 77.03 kB / 1.429 GB, free: 15.99 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.9584, allocations: 54.16 kB / 1.429 GB, free: 15.95 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9585, allocations: 330.7 kB / 1.43 GB, free: 15.62 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.9586, allocations: 67.45 kB / 1.43 GB, free: 15.6 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.9588, allocations: 163.8 kB / 1.43 GB, free: 15.46 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.9592, allocations: 247.8 kB / 1.43 GB, free: 15.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9592, allocations: 7.875 kB / 1.43 GB, free: 15.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005042/0.9597, allocations: 283.6 kB / 1.43 GB, free: 15.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9597, allocations: 7.188 kB / 1.43 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9597, allocations: 10.98 kB / 1.43 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.9597, allocations: 8.5 kB / 1.43 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.96, allocations: 56.78 kB / 1.43 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.96, allocations: 8.281 kB / 1.43 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.9602, allocations: 28.62 kB / 1.43 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.9602, allocations: 14.88 kB / 1.43 GB, free: 15.07 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001309/0.9604, allocations: 137.9 kB / 1.431 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.9605, allocations: 32.28 kB / 1.431 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.961, allocations: 279.1 kB / 1.431 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.961, allocations: 6.828 kB / 1.431 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.961, allocations: 0 / 1.431 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.961, allocations: 1.125 kB / 1.431 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.9617, allocations: 0.5868 MB / 1.431 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9617, allocations: 1.219 kB / 1.431 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.9619, allocations: 30.86 kB / 1.431 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.9619, allocations: 9.141 kB / 1.431 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.9619, allocations: 6.219 kB / 1.431 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9619, allocations: 1.125 kB / 1.431 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.9619, allocations: 5.125 kB / 1.431 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.9624, allocations: 355.3 kB / 1.432 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.9625, allocations: 120.8 kB / 1.432 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.9626, allocations: 5.906 kB / 1.432 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.9628, allocations: 14.48 kB / 1.432 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.9628, allocations: 10.83 kB / 1.432 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.9629, allocations: 12.94 kB / 1.432 GB, free: 13.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001265/0.963, allocations: 152.4 kB / 1.432 GB, free: 13.77 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/0.963, allocations: 1.031 kB / 1.432 GB, free: 13.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004895/0.9635, allocations: 120 kB / 1.432 GB, free: 13.74 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00106/0.9645, allocations: 0.9971 MB / 1.433 GB, free: 12.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.9649, allocations: 198 kB / 1.433 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9649, allocations: 0 / 1.433 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.965, allocations: 94.44 kB / 1.434 GB, free: 12.8 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.9656, allocations: 99.84 kB / 1.434 GB, free: 12.74 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.9684, allocations: 2.499 MB / 1.436 GB, free: 10.76 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.9688, allocations: 0.7371 MB / 1.437 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.969, allocations: 60.66 kB / 1.437 GB, free: 10 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.9691, allocations: 62.69 kB / 1.437 GB, free: 9.957 MB / 1.123 GB Notification: Performance of SimCode: time 4.51e-07/0.9691, allocations: 1.844 kB / 1.437 GB, free: 9.957 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.9989, allocations: 7.788 MB / 1.444 GB, free: 2.867 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/8.585, allocations: 0 / 1.444 GB, free: 2.867 MB / 1.123 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.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: 13.773766289999912]