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.001451/0.001452, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001778/0.001778, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.365/2.365, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 63.91 kB / 0.8688 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.569, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1494/0.7184, allocations: 159.2 MB / 1.172 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.7234, allocations: 4.519 MB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.7237, allocations: 7.938 kB / 1.177 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.7241, allocations: 103.3 kB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006168/0.7247, allocations: 298.7 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.7254, allocations: 271 kB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.7259, allocations: 0.5572 MB / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.7262, allocations: 197.1 kB / 1.178 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007396/0.7269, allocations: 454.4 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.7272, allocations: 203.2 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.7272, allocations: 16 kB / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.7274, allocations: 75.92 kB / 1.179 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.7275, allocations: 87.72 kB / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.7276, allocations: 123.3 kB / 1.179 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.7279, allocations: 291.1 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7279, allocations: 0 / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7279, allocations: 3.984 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7279, allocations: 0 / 1.179 GB, free: 11.79 MB / 0.9356 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.0007094/0.7286, allocations: 0.5334 MB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7287, allocations: 8.031 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.7287, allocations: 50.55 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.7288, allocations: 27.66 kB / 1.18 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.7291, allocations: 275.4 kB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.7291, allocations: 16 kB / 1.18 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.7291, allocations: 16 kB / 1.18 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.7295, allocations: 265.6 kB / 1.18 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7296, allocations: 7.875 kB / 1.18 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.7296, allocations: 12 kB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.7296, allocations: 7.984 kB / 1.181 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.7299, allocations: 143.8 kB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.7311, allocations: 1.375 MB / 1.182 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.7314, allocations: 179.7 kB / 1.182 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.7315, allocations: 101 kB / 1.182 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.7319, allocations: 117 kB / 1.182 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.7319, allocations: 46.5 kB / 1.182 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.7319, allocations: 0 / 1.182 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0005392/0.7325, allocations: 205.8 kB / 1.183 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.7326, allocations: 187.9 kB / 1.183 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.7328, allocations: 283 kB / 1.183 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.7328, allocations: 33.7 kB / 1.183 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.7329, allocations: 147.8 kB / 1.183 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.733, allocations: 31.55 kB / 1.183 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.733, allocations: 45.55 kB / 1.183 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7332, allocations: 338.8 kB / 1.184 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.7333, allocations: 47.91 kB / 1.184 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.7335, allocations: 113.6 kB / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.7337, allocations: 154.7 kB / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7338, allocations: 4 kB / 1.184 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003484/0.7341, allocations: 189.5 kB / 1.184 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7341, allocations: 8 kB / 1.184 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7341, allocations: 0 / 1.184 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.7342, allocations: 7.938 kB / 1.184 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.7343, allocations: 36.2 kB / 1.184 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7343, allocations: 7.938 kB / 1.184 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.7345, allocations: 27.83 kB / 1.184 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.7345, allocations: 4 kB / 1.184 GB, free: 6.336 MB / 0.9356 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.0001264/0.7346, allocations: 157.7 kB / 1.184 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.7347, allocations: 27.66 kB / 1.184 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.735, allocations: 131 kB / 1.185 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.7351, allocations: 7.984 kB / 1.185 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7351, allocations: 4 kB / 1.185 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.7351, allocations: 0 / 1.185 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.7358, allocations: 0.7768 MB / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7358, allocations: 0 / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.736, allocations: 23.98 kB / 1.185 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.736, allocations: 4 kB / 1.185 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.736, allocations: 11.88 kB / 1.185 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.736, allocations: 0 / 1.185 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.736, allocations: 0 / 1.185 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.7365, allocations: 339.5 kB / 1.186 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.7366, allocations: 112.8 kB / 1.186 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.7366, allocations: 4 kB / 1.186 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.7368, allocations: 12.06 kB / 1.186 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.7368, allocations: 15.92 kB / 1.186 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.7368, allocations: 4.062 kB / 1.186 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001808/0.737, allocations: 213.9 kB / 1.186 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.737, allocations: 0 / 1.186 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003071/0.7373, allocations: 59.92 kB / 1.186 GB, free: 4.312 MB / 0.9356 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.0009024/0.7382, allocations: 0.9094 MB / 1.187 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.7385, allocations: 123.8 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7386, allocations: 0.5 kB / 1.187 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.7387, allocations: 63.84 kB / 1.187 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.7394, allocations: 128.9 kB / 1.187 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.7423, allocations: 2.643 MB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.7427, allocations: 0.7635 MB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.7428, allocations: 54.23 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.7429, allocations: 71.36 kB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.7429, allocations: 0 / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.165/2.908, allocations: 6.641 MB / 1.197 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/2.909, allocations: 238.3 kB / 1.197 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/5.013, allocations: 7.875 kB / 1.197 GB, free: 8.641 MB / 0.9512 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=50 --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