Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_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.00412/0.00412, allocations: 104 kB / 15.74 MB, free: 6.02 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.001378/0.001378, allocations: 189.2 kB / 16.67 MB, free: 5.938 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.481/2.481, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 72.55 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2608, allocations: 162.3 MB / 1.242 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001882/0.2627, allocations: 0.8218 MB / 1.243 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001076/0.2628, allocations: 39.84 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.2629, allocations: 7.938 kB / 1.243 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.2629, allocations: 11.86 kB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.263, allocations: 7.875 kB / 1.243 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.231e-05/0.263, allocations: 23.98 kB / 1.243 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.2631, allocations: 51.91 kB / 1.243 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2633, allocations: 47.95 kB / 1.243 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.2633, allocations: 23.8 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.2634, allocations: 43.72 kB / 1.243 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2634, allocations: 4 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.2634, allocations: 8 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2634, allocations: 11.94 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.2635, allocations: 35.8 kB / 1.243 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2636, allocations: 79.8 kB / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2636, allocations: 0 / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2636, allocations: 4 kB / 1.243 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2636, allocations: 0 / 1.243 GB, free: 7.66 MB / 0.9669 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.0003899/0.264, allocations: 383.1 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2641, allocations: 12.03 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.2641, allocations: 34.75 kB / 1.243 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.2641, allocations: 12.89 kB / 1.243 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.2643, allocations: 188.2 kB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2643, allocations: 16.25 kB / 1.244 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2644, allocations: 4.375 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2645, allocations: 93.83 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2645, allocations: 7.938 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2645, allocations: 0 / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2645, allocations: 0 / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.2646, allocations: 39.92 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.2651, allocations: 440.7 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.2652, allocations: 45.19 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.2652, allocations: 25.84 kB / 1.244 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.2652, allocations: 0 / 1.244 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2653, allocations: 30.56 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.2653, allocations: 0 / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.2654, allocations: 61.77 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2655, allocations: 81.11 kB / 1.244 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2656, allocations: 160.1 kB / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2656, allocations: 25.7 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.2657, allocations: 100.1 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.2657, allocations: 11.89 kB / 1.245 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2658, allocations: 13.72 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2659, allocations: 322.8 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.2659, allocations: 12 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.2659, allocations: 17.66 kB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.266, allocations: 25.72 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.266, allocations: 0 / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.97e-05/0.2661, allocations: 57.67 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2661, allocations: 15.88 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2661, allocations: 8.047 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2661, allocations: 0 / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.2662, allocations: 8 kB / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2662, allocations: 0 / 1.245 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.2662, allocations: 3.953 kB / 1.245 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2662, allocations: 8 kB / 1.245 GB, free: 5.172 MB / 0.9669 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.387e-05/0.2663, allocations: 113.8 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.2664, allocations: 11.89 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.2664, allocations: 11.81 kB / 1.245 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2664, allocations: 8 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2664, allocations: 0 / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2664, allocations: 0 / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.2668, allocations: 474.7 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2668, allocations: 0 / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.2668, allocations: 7.984 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2668, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2668, allocations: 64 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2669, allocations: 7.938 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2669, allocations: 4 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.2669, allocations: 73.89 kB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.267, allocations: 89.05 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.267, allocations: 4 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.267, allocations: 0 / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.2671, allocations: 4.031 kB / 1.246 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2671, allocations: 4 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.2672, allocations: 116.5 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2672, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001731/0.2673, allocations: 11.94 kB / 1.246 GB, free: 4.137 MB / 0.9669 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.0003642/0.2677, allocations: 0.6215 MB / 1.247 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.215e-05/0.2678, allocations: 23.92 kB / 1.247 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2678, allocations: 0 / 1.247 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.2678, allocations: 4 kB / 1.247 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.2679, allocations: 4 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2691, allocations: 1.34 MB / 1.248 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.2693, allocations: 0.6924 MB / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.2694, allocations: 8.422 kB / 1.249 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2694, allocations: 27.38 kB / 1.249 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.2694, allocations: 4 kB / 1.249 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9095/1.179, allocations: 1.569 MB / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.47, allocations: 10.89 kB / 1.25 GB, free: 15.79 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches