Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005747/0.005747, allocations: 97.41 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 201.2 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.566/2.566, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 71.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2578, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6227/0.8806, allocations: 149.1 MB / 1.387 GB, free: 6.75 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003766/0.8844, allocations: 3.614 MB / 1.391 GB, free: 3.895 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.8845, allocations: 1.156 kB / 1.391 GB, free: 3.895 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.8848, allocations: 72.09 kB / 1.391 GB, free: 3.836 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.8851, allocations: 135.4 kB / 1.391 GB, free: 3.727 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.8871, allocations: 1.008 MB / 1.392 GB, free: 2.992 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.8874, allocations: 317.9 kB / 1.393 GB, free: 2.828 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.8874, allocations: 18.47 kB / 1.393 GB, free: 2.816 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.8878, allocations: 188.9 kB / 1.393 GB, free: 2.711 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.8879, allocations: 132.1 kB / 1.393 GB, free: 2.637 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.888, allocations: 10.47 kB / 1.393 GB, free: 2.637 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.8896, allocations: 1.217 MB / 1.394 GB, free: 1.957 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.8897, allocations: 67.12 kB / 1.394 GB, free: 1.914 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.8898, allocations: 108.8 kB / 1.394 GB, free: 1.855 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000856/0.8907, allocations: 0.6463 MB / 1.395 GB, free: 1.492 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.8907, allocations: 0 / 1.395 GB, free: 1.492 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8907, allocations: 0 / 1.395 GB, free: 1.492 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8907, allocations: 0 / 1.395 GB, free: 1.492 MB / 1.092 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.000954/0.8917, allocations: 0.6001 MB / 1.395 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8917, allocations: 13.98 kB / 1.395 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.8918, allocations: 54.61 kB / 1.395 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.8928, allocations: 136.8 kB / 1.396 GB, free: 0.832 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.893, allocations: 219.1 kB / 1.396 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.8931, allocations: 19.38 kB / 1.396 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.8931, allocations: 16.81 kB / 1.396 GB, free: 0.582 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.8936, allocations: 344.9 kB / 1.396 GB, free: 368 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8936, allocations: 1.25 kB / 1.396 GB, free: 368 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.8936, allocations: 7.5 kB / 1.396 GB, free: 364 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.8937, allocations: 16.11 kB / 1.396 GB, free: 360 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.8942, allocations: 322.2 kB / 1.397 GB, free: 216 kB / 1.092 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.001424/0.8956, allocations: 1.108 MB / 1.398 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.896, allocations: 188.4 kB / 1.398 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.8962, allocations: 82.59 kB / 1.398 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/0.8967, allocations: 465.3 kB / 1.398 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.8967, allocations: 40.66 kB / 1.398 GB, free: 14.54 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.8967, allocations: 1.156 kB / 1.398 GB, free: 14.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.0005857/0.8973, allocations: 256.3 kB / 1.399 GB, free: 14.42 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.8974, allocations: 56.91 kB / 1.399 GB, free: 14.36 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.8975, allocations: 211.7 kB / 1.399 GB, free: 14.2 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.8976, allocations: 32.3 kB / 1.399 GB, free: 14.16 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.8977, allocations: 145.4 kB / 1.399 GB, free: 14.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.8977, allocations: 84.02 kB / 1.399 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.8978, allocations: 54.19 kB / 1.399 GB, free: 13.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8979, allocations: 326.6 kB / 1.399 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.8981, allocations: 72.47 kB / 1.4 GB, free: 13.55 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.8982, allocations: 156.9 kB / 1.4 GB, free: 13.41 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.8985, allocations: 247.1 kB / 1.4 GB, free: 13.23 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8985, allocations: 4 kB / 1.4 GB, free: 13.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004568/0.899, allocations: 281.6 kB / 1.4 GB, free: 13.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.899, allocations: 7.125 kB / 1.4 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.899, allocations: 3.594 kB / 1.4 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8991, allocations: 12.67 kB / 1.4 GB, free: 13.08 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.8993, allocations: 56.55 kB / 1.4 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8993, allocations: 10.59 kB / 1.4 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.8995, allocations: 32.33 kB / 1.4 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.8995, allocations: 18.92 kB / 1.4 GB, free: 13.04 MB / 1.107 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.0001132/0.8996, allocations: 134.7 kB / 1.4 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.8998, allocations: 32.62 kB / 1.4 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.9002, allocations: 267.9 kB / 1.401 GB, free: 12.74 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.9002, allocations: 10.28 kB / 1.401 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9002, allocations: 2.688 kB / 1.401 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.9002, allocations: 3.938 kB / 1.401 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.9009, allocations: 0.5945 MB / 1.401 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.9009, allocations: 1.094 kB / 1.401 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.9011, allocations: 30.23 kB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9011, allocations: 2.281 kB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.9011, allocations: 5.406 kB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.9011, allocations: 8.844 kB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.9011, allocations: 1.281 kB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.9016, allocations: 355 kB / 1.402 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.9017, allocations: 120.1 kB / 1.402 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.9018, allocations: 6.125 kB / 1.402 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.902, allocations: 20.36 kB / 1.402 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.902, allocations: 10.64 kB / 1.402 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.902, allocations: 17.89 kB / 1.402 GB, free: 11.83 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001173/0.9022, allocations: 148.7 kB / 1.402 GB, free: 11.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.9022, allocations: 0 / 1.402 GB, free: 11.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004235/0.9026, allocations: 120.5 kB / 1.402 GB, free: 11.7 MB / 1.107 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.0009813/0.9036, allocations: 0.992 MB / 1.403 GB, free: 10.87 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.9039, allocations: 202.1 kB / 1.403 GB, free: 10.8 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9039, allocations: 1.062 kB / 1.403 GB, free: 10.8 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.9041, allocations: 106.7 kB / 1.403 GB, free: 10.75 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.9046, allocations: 97.42 kB / 1.403 GB, free: 10.71 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.9072, allocations: 2.499 MB / 1.406 GB, free: 8.719 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.9075, allocations: 0.7384 MB / 1.407 GB, free: 7.992 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.9077, allocations: 57.34 kB / 1.407 GB, free: 7.965 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.9078, allocations: 58.98 kB / 1.407 GB, free: 7.926 MB / 1.107 GB Notification: Performance of SimCode: time 3.2e-07/0.9078, allocations: 0 / 1.407 GB, free: 7.926 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.198/9.106, allocations: 7.738 MB / 1.414 GB, free: 4.012 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/26.1, allocations: 12.02 kB / 1.414 GB, free: 4.004 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches