Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SpecificEnthalpy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.005532/0.005532, allocations: 96.7 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.001646/0.001646, allocations: 197.4 kB / 16.67 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.308/2.308, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2394, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.597/0.8364, allocations: 161.4 MB / 1.324 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.8415, allocations: 4.535 MB / 1.328 GB, free: 4.602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.8418, allocations: 10.53 kB / 1.328 GB, free: 4.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.8423, allocations: 134.1 kB / 1.328 GB, free: 4.504 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007961/0.8431, allocations: 330.3 kB / 1.329 GB, free: 4.328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.8438, allocations: 276.7 kB / 1.329 GB, free: 4.195 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.8445, allocations: 0.5588 MB / 1.329 GB, free: 3.949 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.8448, allocations: 201.5 kB / 1.33 GB, free: 3.867 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008779/0.8457, allocations: 462.9 kB / 1.33 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.846, allocations: 182.3 kB / 1.33 GB, free: 3.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.8461, allocations: 19.36 kB / 1.33 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.8462, allocations: 81.19 kB / 1.33 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.8464, allocations: 91.5 kB / 1.33 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.8465, allocations: 122 kB / 1.331 GB, free: 3.461 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.8469, allocations: 294 kB / 1.331 GB, free: 3.352 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8469, allocations: 4.75 kB / 1.331 GB, free: 3.348 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8469, allocations: 1.344 kB / 1.331 GB, free: 3.348 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8469, allocations: 0 / 1.331 GB, free: 3.348 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008006/0.8477, allocations: 0.5449 MB / 1.331 GB, free: 2.863 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.8478, allocations: 10.69 kB / 1.331 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.8478, allocations: 52.38 kB / 1.331 GB, free: 2.812 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.8479, allocations: 34.16 kB / 1.332 GB, free: 2.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.8483, allocations: 286.4 kB / 1.332 GB, free: 2.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.8483, allocations: 11.97 kB / 1.332 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.8483, allocations: 19.91 kB / 1.332 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.8487, allocations: 260.2 kB / 1.332 GB, free: 2.363 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.8488, allocations: 5.25 kB / 1.332 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.8488, allocations: 9.438 kB / 1.332 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.8488, allocations: 6.062 kB / 1.332 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.8491, allocations: 156.6 kB / 1.332 GB, free: 2.301 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.8503, allocations: 1.375 MB / 1.334 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.8506, allocations: 182.2 kB / 1.334 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.8508, allocations: 99.03 kB / 1.334 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.8511, allocations: 115.7 kB / 1.334 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.8511, allocations: 45 kB / 1.334 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.8511, allocations: 0 / 1.334 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005375/0.8517, allocations: 207.3 kB / 1.334 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.8518, allocations: 185.2 kB / 1.334 GB, free: 396 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.852, allocations: 293.8 kB / 1.335 GB, free: 240 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.852, allocations: 31.05 kB / 1.335 GB, free: 204 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8522, allocations: 147.5 kB / 1.335 GB, free: 72 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.8522, allocations: 38.31 kB / 1.335 GB, free: 40 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.8523, allocations: 35.03 kB / 1.335 GB, free: 16 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8524, allocations: 336.7 kB / 1.335 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.8525, allocations: 48.77 kB / 1.335 GB, free: 15.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.8527, allocations: 117.3 kB / 1.335 GB, free: 15.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.853, allocations: 159.4 kB / 1.336 GB, free: 15.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.853, allocations: 0 / 1.336 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003309/0.8533, allocations: 195 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.8533, allocations: 9.656 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8534, allocations: 5.141 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.8534, allocations: 2.75 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.8535, allocations: 26 kB / 1.336 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8535, allocations: 9.125 kB / 1.336 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.8536, allocations: 28.95 kB / 1.336 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.8537, allocations: 7.531 kB / 1.336 GB, free: 15.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.000124/0.8538, allocations: 150.5 kB / 1.336 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.8539, allocations: 28.86 kB / 1.336 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.8542, allocations: 130 kB / 1.336 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8542, allocations: 6.812 kB / 1.336 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8542, allocations: 1.094 kB / 1.336 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.8542, allocations: 5.484 kB / 1.336 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.855, allocations: 0.764 MB / 1.337 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.855, allocations: 5.5 kB / 1.337 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.8551, allocations: 26.55 kB / 1.337 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8551, allocations: 1.406 kB / 1.337 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.8551, allocations: 7.719 kB / 1.337 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.8551, allocations: 3.656 kB / 1.337 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8551, allocations: 2.5 kB / 1.337 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.8556, allocations: 338.6 kB / 1.337 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.8557, allocations: 119.3 kB / 1.337 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.8558, allocations: 2.094 kB / 1.337 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.8559, allocations: 7.938 kB / 1.337 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.8559, allocations: 23.17 kB / 1.337 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.8559, allocations: 8.188 kB / 1.337 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001781/0.8561, allocations: 207.9 kB / 1.338 GB, free: 13.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8561, allocations: 1.375 kB / 1.338 GB, free: 13.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000287/0.8564, allocations: 54.47 kB / 1.338 GB, free: 13.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0009282/0.8574, allocations: 0.9135 MB / 1.339 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.8577, allocations: 124.5 kB / 1.339 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8577, allocations: 0.9688 kB / 1.339 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.8578, allocations: 66.52 kB / 1.339 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.8585, allocations: 129.8 kB / 1.339 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.8612, allocations: 2.604 MB / 1.341 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.8615, allocations: 0.7616 MB / 1.342 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.8616, allocations: 50.5 kB / 1.342 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.8617, allocations: 68.86 kB / 1.342 GB, free: 10.45 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.8617, allocations: 0 / 1.342 GB, free: 10.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.741/2.603, allocations: 6.876 MB / 1.349 GB, free: 9.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/13.1, allocations: 8.891 kB / 1.349 GB, free: 9.676 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches