Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.001502/0.001502, allocations: 108 kB / 15.6 MB, free: 132 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.001379/0.001379, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.287/1.287, 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 11.1.0-maint.11.x/package.mo): time 2.537/2.537, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 71.98 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2636, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002023/0.2657, allocations: 0.8235 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.2658, allocations: 43.78 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.2659, allocations: 4 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.2659, allocations: 7.875 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.266, allocations: 11.86 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.167e-05/0.266, allocations: 15.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.2661, allocations: 63.84 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2663, allocations: 43.95 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.2664, allocations: 27.81 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.2664, allocations: 27.84 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2664, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.2665, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.2665, allocations: 15.94 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2665, allocations: 39.73 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.728e-05/0.2666, allocations: 67.98 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2666, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2666, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2667, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004287/0.2671, allocations: 373 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2671, allocations: 8.031 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.2672, allocations: 42.75 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.2672, allocations: 20.73 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2674, allocations: 192.2 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.2674, allocations: 384 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2674, allocations: 12.38 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.2676, allocations: 89.83 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2676, allocations: 7.875 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.2676, allocations: 3.938 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2676, allocations: 7.938 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.2677, allocations: 43.97 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.2683, allocations: 428.7 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.2683, allocations: 41.16 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.2684, allocations: 17.78 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.2684, allocations: 0 / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.2684, allocations: 46.5 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2684, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001492/0.2686, allocations: 53.53 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2686, allocations: 85.3 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2688, allocations: 166.2 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2688, allocations: 25.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.2689, allocations: 109.9 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.2689, allocations: 3.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.2689, allocations: 17.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2691, allocations: 318.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.2691, allocations: 4 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.2691, allocations: 21.72 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.2692, allocations: 29.7 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2692, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.436e-05/0.2693, allocations: 57.55 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2693, allocations: 7.938 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2693, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2693, allocations: 8.062 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.2694, allocations: 7.984 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2694, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.2694, allocations: 15.78 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.2694, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.628e-05/0.2695, allocations: 113.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.2695, allocations: 11.84 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.2696, allocations: 11.88 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2696, allocations: 96 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2696, allocations: 7.984 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2696, allocations: 3.984 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.27, allocations: 470.7 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.27, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.27, allocations: 4 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.27, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.27, allocations: 4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2701, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2701, allocations: 8 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.684e-05/0.2701, allocations: 85.77 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.2702, allocations: 85.02 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2702, allocations: 0 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.2703, allocations: 0 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.2703, allocations: 11.98 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.2703, allocations: 4.031 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.877e-05/0.2704, allocations: 122.1 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 0 / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001738/0.2706, allocations: 8 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004738/0.271, allocations: 0.617 MB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.2711, allocations: 23.94 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2711, allocations: 0 / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.2711, allocations: 4 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.2713, allocations: 8 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.2725, allocations: 1.32 MB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2728, allocations: 0.7002 MB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.2728, allocations: 4.438 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.2729, allocations: 27.42 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2729, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/0.4046, allocations: 1.543 MB / 1.072 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.512, allocations: 9.875 kB / 1.072 GB, free: 5.145 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches