Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001164/0.001164, allocations: 193.1 kB / 16.13 MB, free: 6.652 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.652 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.277/2.277, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6368, allocations: 140.4 MB / 0.9491 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1655/0.8024, allocations: 161 MB / 1.106 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005613/0.808, allocations: 4.642 MB / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003558/0.8084, allocations: 7.938 kB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.8089, allocations: 107.3 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.8103, allocations: 0.498 MB / 1.111 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.812, allocations: 0.7027 MB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.8128, allocations: 0.8108 MB / 1.113 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.8132, allocations: 189.4 kB / 1.113 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009707/0.8142, allocations: 426.4 kB / 1.113 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.8148, allocations: 294.9 kB / 1.114 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.8148, allocations: 12 kB / 1.114 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.8165, allocations: 1.161 MB / 1.115 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.8167, allocations: 87.77 kB / 1.115 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.8168, allocations: 115.4 kB / 1.115 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.8178, allocations: 0.7713 MB / 1.116 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.8179, allocations: 0 / 1.116 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.91e-07/0.8179, allocations: 4 kB / 1.116 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.8179, allocations: 0 / 1.116 GB, free: 6.727 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008447/0.8187, allocations: 0.5958 MB / 1.116 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8188, allocations: 12.03 kB / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.8188, allocations: 46.55 kB / 1.116 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006522/0.8195, allocations: 75.59 kB / 1.117 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.8198, allocations: 291.2 kB / 1.117 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.8199, allocations: 20 kB / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.8199, allocations: 16 kB / 1.117 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.8204, allocations: 279.5 kB / 1.117 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8204, allocations: 3.938 kB / 1.117 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.8204, allocations: 15.94 kB / 1.117 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8204, allocations: 8 kB / 1.117 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.8208, allocations: 199.8 kB / 1.117 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.8223, allocations: 1.249 MB / 1.119 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.8226, allocations: 173 kB / 1.119 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.8228, allocations: 116.4 kB / 1.119 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.8235, allocations: 335.1 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.8235, allocations: 38.5 kB / 1.119 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.8235, allocations: 0 / 1.119 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007116/0.8242, allocations: 277.2 kB / 1.119 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.8243, allocations: 162.2 kB / 1.12 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.8246, allocations: 283 kB / 1.12 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.8246, allocations: 33.7 kB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.8247, allocations: 152.2 kB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.8248, allocations: 47.3 kB / 1.12 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.8248, allocations: 41.7 kB / 1.12 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8249, allocations: 342.8 kB / 1.12 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8251, allocations: 75.88 kB / 1.121 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.8253, allocations: 136.5 kB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.8257, allocations: 211.5 kB / 1.121 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8257, allocations: 0 / 1.121 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004789/0.8262, allocations: 249.2 kB / 1.121 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8262, allocations: 4 kB / 1.121 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8262, allocations: 7.984 kB / 1.121 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.8262, allocations: 4 kB / 1.121 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.8264, allocations: 35.92 kB / 1.121 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.8264, allocations: 4 kB / 1.121 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.8266, allocations: 35.67 kB / 1.121 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.8267, allocations: 16.12 kB / 1.121 GB, free: 0.7344 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001305/0.8268, allocations: 149.7 kB / 1.121 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.827, allocations: 23.72 kB / 1.121 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.8274, allocations: 202 kB / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8274, allocations: 0 / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8274, allocations: 4 kB / 1.122 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8274, allocations: 3.938 kB / 1.122 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.8283, allocations: 0.8433 MB / 1.122 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.8283, allocations: 4 kB / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.8285, allocations: 27.86 kB / 1.122 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8285, allocations: 4 kB / 1.122 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8285, allocations: 0 / 1.122 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8285, allocations: 12.28 kB / 1.122 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8285, allocations: 0 / 1.122 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.829, allocations: 343.4 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.373e-05/0.8291, allocations: 112.7 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.8292, allocations: 8 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.8293, allocations: 7.984 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.8294, allocations: 11.98 kB / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.8294, allocations: 11.94 kB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002208/0.8296, allocations: 238 kB / 1.123 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8296, allocations: 0 / 1.123 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004264/0.8301, allocations: 103.8 kB / 1.123 GB, free: 14.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.00112/0.8312, allocations: 0.9818 MB / 1.124 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.8316, allocations: 151.8 kB / 1.124 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8316, allocations: 0 / 1.124 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.8317, allocations: 64.66 kB / 1.124 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.8325, allocations: 126.8 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.8356, allocations: 2.819 MB / 1.127 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.8359, allocations: 0.7638 MB / 1.128 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.8361, allocations: 58.95 kB / 1.128 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.8362, allocations: 75.41 kB / 1.128 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.8362, allocations: 0 / 1.128 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.8562, allocations: 8.201 MB / 1.136 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.8564, allocations: 236.8 kB / 1.136 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.733, allocations: 2.5 kB / 1.136 GB, free: 0.9609 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches