Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5381, allocations: 140.4 MB / 0.949 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1482/0.6863, allocations: 146.8 MB / 1.092 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003786/0.6902, allocations: 3.68 MB / 1.096 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.6902, allocations: 0 / 1.096 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.6905, allocations: 59.69 kB / 1.096 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.6908, allocations: 131.3 kB / 1.096 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.6926, allocations: 0.9432 MB / 1.097 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.693, allocations: 0.4916 MB / 1.098 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.6931, allocations: 9.562 kB / 1.098 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.6934, allocations: 171.3 kB / 1.098 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.6936, allocations: 147.5 kB / 1.098 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.6936, allocations: 8 kB / 1.098 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.6957, allocations: 1.531 MB / 1.099 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.6958, allocations: 71.72 kB / 1.099 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.6959, allocations: 103.5 kB / 1.1 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009553/0.6968, allocations: 0.7307 MB / 1.1 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6969, allocations: 4 kB / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6969, allocations: 4 kB / 1.1 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.6969, allocations: 4 kB / 1.1 GB, free: 6.629 MB / 0.8575 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.0009846/0.6979, allocations: 0.585 MB / 1.101 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6979, allocations: 8.031 kB / 1.101 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/0.698, allocations: 58.72 kB / 1.101 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.6992, allocations: 136.6 kB / 1.101 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.6994, allocations: 223.8 kB / 1.101 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6994, allocations: 16.36 kB / 1.101 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.6995, allocations: 20 kB / 1.101 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.7, allocations: 342.1 kB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.7, allocations: 0 / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.7001, allocations: 12 kB / 1.102 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.7001, allocations: 15.92 kB / 1.102 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.7006, allocations: 320.1 kB / 1.102 GB, free: 4.805 MB / 0.8575 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.001515/0.7021, allocations: 1.113 MB / 1.103 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.7026, allocations: 182.5 kB / 1.103 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.7028, allocations: 88.75 kB / 1.103 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.7033, allocations: 457.5 kB / 1.104 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.7033, allocations: 38.56 kB / 1.104 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.7033, allocations: 0 / 1.104 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006327/0.704, allocations: 268 kB / 1.104 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.704, allocations: 55.41 kB / 1.104 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.7042, allocations: 203.2 kB / 1.104 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.7042, allocations: 29.7 kB / 1.104 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.7043, allocations: 147.9 kB / 1.104 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.7044, allocations: 66.95 kB / 1.105 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.7045, allocations: 53.7 kB / 1.105 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7046, allocations: 330.8 kB / 1.105 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.7047, allocations: 68.23 kB / 1.105 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.7049, allocations: 160.8 kB / 1.105 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.7052, allocations: 255.8 kB / 1.105 GB, free: 1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.7052, allocations: 4.047 kB / 1.105 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004957/0.7057, allocations: 284.2 kB / 1.106 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7057, allocations: 15.94 kB / 1.106 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7058, allocations: 7.984 kB / 1.106 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7058, allocations: 7.938 kB / 1.106 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.7061, allocations: 59.91 kB / 1.106 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7061, allocations: 4 kB / 1.106 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.7063, allocations: 31.69 kB / 1.106 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.7064, allocations: 8 kB / 1.106 GB, free: 0.582 MB / 0.8575 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.000111/0.7065, allocations: 141.8 kB / 1.106 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7066, allocations: 27.8 kB / 1.106 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.7071, allocations: 285 kB / 1.106 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7071, allocations: 0 / 1.106 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7071, allocations: 0 / 1.106 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7071, allocations: 0 / 1.106 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.7078, allocations: 0.5934 MB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7078, allocations: 0 / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.708, allocations: 31.98 kB / 1.107 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7081, allocations: 0 / 1.107 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.7081, allocations: 8 kB / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7081, allocations: 7.938 kB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7081, allocations: 0 / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.7086, allocations: 354.2 kB / 1.107 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7087, allocations: 116.8 kB / 1.107 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.7087, allocations: 4 kB / 1.107 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.709, allocations: 18.05 kB / 1.107 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.7091, allocations: 11.92 kB / 1.107 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.7091, allocations: 19.98 kB / 1.107 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001203/0.7092, allocations: 156.3 kB / 1.107 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7092, allocations: 0 / 1.107 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004281/0.7097, allocations: 112 kB / 1.108 GB, free: 14.61 MB / 0.8731 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.0009978/0.7107, allocations: 0.9966 MB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.711, allocations: 196.3 kB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.711, allocations: 4.188 kB / 1.109 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.7112, allocations: 111.8 kB / 1.109 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.7119, allocations: 91.97 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.7146, allocations: 2.552 MB / 1.111 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.7148, allocations: 0.7328 MB / 1.112 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.7151, allocations: 58.25 kB / 1.112 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.7153, allocations: 59.41 kB / 1.112 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.7153, allocations: 0 / 1.112 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4422/1.157, allocations: 7.392 MB / 1.119 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/1.158, allocations: 180.8 kB / 1.12 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.967, allocations: 0 / 1.12 GB, free: 2.094 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches