Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001503/0.001503, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.407/2.407, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5467, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1682/0.7149, allocations: 167.5 MB / 1.181 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007204/0.7222, allocations: 6.545 MB / 1.187 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.7227, allocations: 15.88 kB / 1.187 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.7232, allocations: 166.8 kB / 1.188 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.7251, allocations: 0.8479 MB / 1.188 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.726, allocations: 323 kB / 1.189 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.7268, allocations: 0.7135 MB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.7273, allocations: 282.7 kB / 1.19 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.7284, allocations: 0.5487 MB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.7288, allocations: 267 kB / 1.19 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.7288, allocations: 20 kB / 1.19 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.7294, allocations: 339.2 kB / 1.191 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7295, allocations: 111.6 kB / 1.191 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.7297, allocations: 159.3 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.7303, allocations: 462.5 kB / 1.192 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7303, allocations: 0 / 1.192 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7303, allocations: 4 kB / 1.192 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.7303, allocations: 0 / 1.192 GB, free: 15.5 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007851/0.7311, allocations: 0.6156 MB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.7312, allocations: 11.97 kB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.7312, allocations: 58.55 kB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.7315, allocations: 71.42 kB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.7319, allocations: 297.3 kB / 1.193 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.7319, allocations: 20.56 kB / 1.193 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.7319, allocations: 28 kB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.7324, allocations: 315.7 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7324, allocations: 4 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.7325, allocations: 11.98 kB / 1.193 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.7325, allocations: 15.94 kB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.7329, allocations: 205.5 kB / 1.193 GB, free: 13.75 MB / 0.9512 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.00139/0.7343, allocations: 1.534 MB / 1.195 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.7345, allocations: 122.5 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.7347, allocations: 92.8 kB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/0.7353, allocations: 295.2 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.7353, allocations: 42.55 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 2.003e-06/0.7353, allocations: 0 / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007011/0.7361, allocations: 277.4 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.7361, allocations: 51.41 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.7364, allocations: 308.5 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.7364, allocations: 33.7 kB / 1.196 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.7365, allocations: 184.1 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.7366, allocations: 43.3 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.7366, allocations: 41.7 kB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7367, allocations: 338.8 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.7369, allocations: 59.95 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.7371, allocations: 117.1 kB / 1.197 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.7374, allocations: 180.8 kB / 1.197 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7374, allocations: 0 / 1.197 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003875/0.7378, allocations: 221.1 kB / 1.197 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7378, allocations: 4 kB / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.7378, allocations: 4 kB / 1.197 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7378, allocations: 0 / 1.197 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.738, allocations: 36.14 kB / 1.197 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.738, allocations: 3.938 kB / 1.197 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7382, allocations: 27.83 kB / 1.197 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.7382, allocations: 11.98 kB / 1.197 GB, free: 9.457 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001235/0.7384, allocations: 145.8 kB / 1.197 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.7384, allocations: 27.62 kB / 1.197 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.7388, allocations: 212.3 kB / 1.197 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7388, allocations: 4 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7388, allocations: 0 / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.7389, allocations: 7.922 kB / 1.197 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.7398, allocations: 0.6796 MB / 1.198 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7398, allocations: 4 kB / 1.198 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.7399, allocations: 27.92 kB / 1.198 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7399, allocations: 4 kB / 1.198 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.7399, allocations: 7.938 kB / 1.198 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.74, allocations: 4 kB / 1.198 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.74, allocations: 8.219 kB / 1.198 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.7404, allocations: 336.6 kB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.7405, allocations: 120.7 kB / 1.199 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.7405, allocations: 7.938 kB / 1.199 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.7407, allocations: 11.98 kB / 1.199 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.7407, allocations: 7.984 kB / 1.199 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.7407, allocations: 12 kB / 1.199 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001834/0.7409, allocations: 223 kB / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.599e-06/0.7409, allocations: 0 / 1.199 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003342/0.7413, allocations: 83.78 kB / 1.199 GB, free: 7.406 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0008747/0.7422, allocations: 0.9158 MB / 1.2 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.7425, allocations: 163.9 kB / 1.2 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7426, allocations: 4.062 kB / 1.2 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.7427, allocations: 83.83 kB / 1.2 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.7435, allocations: 147.1 kB / 1.2 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.7465, allocations: 2.811 MB / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7469, allocations: 0.7795 MB / 1.204 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.7471, allocations: 58.94 kB / 1.204 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.7472, allocations: 91.41 kB / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7472, allocations: 0 / 1.204 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.115/4.862, allocations: 8.043 MB / 1.212 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.624/14.49, allocations: 22.55 kB / 1.212 GB, free: 10.24 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches