Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 101.9 kB / 19.73 MB, free: 2.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 222.5 kB / 23.03 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.69 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1737/0.5201, allocations: 131 MB / 1.455 GB, free: 13.96 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004537/0.5246, allocations: 3.279 MB / 1.458 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.5248, allocations: 0 / 1.458 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.5252, allocations: 55.61 kB / 1.458 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.5256, allocations: 139.2 kB / 1.458 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.5283, allocations: 1.065 MB / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.5287, allocations: 319.6 kB / 1.459 GB, free: 9.102 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.5288, allocations: 13.73 kB / 1.459 GB, free: 9.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.5293, allocations: 195.4 kB / 1.459 GB, free: 8.898 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.5295, allocations: 139.5 kB / 1.46 GB, free: 8.762 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.5296, allocations: 16 kB / 1.46 GB, free: 8.746 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.5317, allocations: 1.059 MB / 1.461 GB, free: 7.684 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.5319, allocations: 75.78 kB / 1.461 GB, free: 7.609 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.5321, allocations: 95.64 kB / 1.461 GB, free: 7.516 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.5336, allocations: 0.6192 MB / 1.461 GB, free: 6.895 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5336, allocations: 0 / 1.461 GB, free: 6.895 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5336, allocations: 0 / 1.461 GB, free: 6.895 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.5336, allocations: 0 / 1.461 GB, free: 6.895 MB / 1.154 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.001251/0.5348, allocations: 0.5282 MB / 1.462 GB, free: 6.336 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.5349, allocations: 8.031 kB / 1.462 GB, free: 6.328 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/0.5349, allocations: 4.562 kB / 1.462 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/0.535, allocations: 62.66 kB / 1.462 GB, free: 6.254 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.5363, allocations: 136.7 kB / 1.462 GB, free: 6.121 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.5366, allocations: 177.8 kB / 1.462 GB, free: 5.922 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.5366, allocations: 16.38 kB / 1.462 GB, free: 5.906 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.5366, allocations: 16 kB / 1.462 GB, free: 5.891 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.5374, allocations: 0.5892 MB / 1.463 GB, free: 5.223 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5374, allocations: 0 / 1.463 GB, free: 5.223 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.5374, allocations: 12 kB / 1.463 GB, free: 5.211 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.5375, allocations: 15.98 kB / 1.463 GB, free: 5.195 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.538, allocations: 320.1 kB / 1.463 GB, free: 4.883 MB / 1.154 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.001709/0.5397, allocations: 0.9574 MB / 1.464 GB, free: 3.863 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.5402, allocations: 178.4 kB / 1.464 GB, free: 3.68 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.5404, allocations: 84.73 kB / 1.464 GB, free: 3.594 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.5408, allocations: 75.94 kB / 1.465 GB, free: 3.52 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5408, allocations: 42.5 kB / 1.465 GB, free: 3.469 MB / 1.154 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.5408, allocations: 0 / 1.465 GB, free: 3.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=21): time 0.0006962/0.5415, allocations: 262.5 kB / 1.465 GB, free: 3.207 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5415, allocations: 55.34 kB / 1.465 GB, free: 3.141 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.5418, allocations: 215.1 kB / 1.465 GB, free: 2.918 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.5418, allocations: 29.7 kB / 1.465 GB, free: 2.883 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5419, allocations: 144.2 kB / 1.465 GB, free: 2.734 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.542, allocations: 75.39 kB / 1.465 GB, free: 2.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.5421, allocations: 53.69 kB / 1.465 GB, free: 2.602 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5422, allocations: 326.8 kB / 1.466 GB, free: 2.273 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.5424, allocations: 72.22 kB / 1.466 GB, free: 2.203 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.5426, allocations: 164.1 kB / 1.466 GB, free: 2.004 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.5429, allocations: 253.8 kB / 1.466 GB, free: 1.719 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5429, allocations: 4 kB / 1.466 GB, free: 1.715 MB / 1.154 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005598/0.5435, allocations: 273.2 kB / 1.466 GB, free: 1.441 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5435, allocations: 8 kB / 1.466 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5435, allocations: 3.938 kB / 1.466 GB, free: 1.43 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5435, allocations: 4 kB / 1.466 GB, free: 1.426 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.5438, allocations: 60.28 kB / 1.466 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5438, allocations: 8 kB / 1.466 GB, free: 1.359 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.544, allocations: 31.73 kB / 1.466 GB, free: 1.328 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5441, allocations: 12 kB / 1.467 GB, free: 1.316 MB / 1.154 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.0001477/0.5442, allocations: 148.1 kB / 1.467 GB, free: 1.164 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.5443, allocations: 19.91 kB / 1.467 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.5449, allocations: 283.4 kB / 1.467 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.5449, allocations: 4 kB / 1.467 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5449, allocations: 3.984 kB / 1.467 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5449, allocations: 0 / 1.467 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.5457, allocations: 0.5517 MB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5457, allocations: 0 / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.5458, allocations: 31.92 kB / 1.468 GB, free: 224 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5458, allocations: 4 kB / 1.468 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5459, allocations: 0 / 1.468 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.5459, allocations: 8 kB / 1.468 GB, free: 212 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5459, allocations: 0 / 1.468 GB, free: 212 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.5464, allocations: 366.7 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.5465, allocations: 43.77 kB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.5466, allocations: 8.062 kB / 1.468 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.5469, allocations: 13.7 kB / 1.468 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.5469, allocations: 19.97 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.5469, allocations: 11.94 kB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000137/0.5471, allocations: 153.5 kB / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5471, allocations: 0 / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005025/0.5476, allocations: 115.8 kB / 1.468 GB, free: 15.47 MB / 1.17 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.001222/0.5488, allocations: 1.006 MB / 1.469 GB, free: 14.43 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.5492, allocations: 195.7 kB / 1.469 GB, free: 14.24 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5492, allocations: 4.75 kB / 1.469 GB, free: 14.23 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.5493, allocations: 97.44 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.55, allocations: 98.22 kB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.5531, allocations: 2.514 MB / 1.472 GB, free: 11.37 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.5532, allocations: 124.3 kB / 1.472 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.5535, allocations: 58.23 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.5536, allocations: 63.41 kB / 1.472 GB, free: 11.11 MB / 1.17 GB Notification: Performance of SimCode: time 4.71e-07/0.5536, allocations: 0 / 1.472 GB, free: 11.11 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.5868, allocations: 8.503 MB / 1.481 GB, free: 2.883 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.56, allocations: 8.938 kB / 1.481 GB, free: 2.875 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_AirProperties.fmu > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.725354720954783]