Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.005453/0.005453, allocations: 103.2 kB / 15.74 MB, free: 6.051 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.0015/0.0015, allocations: 196.6 kB / 16.68 MB, free: 5.965 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.544/2.544, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 64.67 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2735, allocations: 162.3 MB / 1.242 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001763/0.2753, allocations: 0.814 MB / 1.243 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001055/0.2755, allocations: 47.78 kB / 1.243 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.2755, allocations: 4 kB / 1.243 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.2756, allocations: 11.88 kB / 1.243 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.2756, allocations: 7.922 kB / 1.243 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.351e-05/0.2757, allocations: 15.98 kB / 1.243 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2758, allocations: 67.78 kB / 1.243 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2759, allocations: 43.95 kB / 1.243 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.276, allocations: 27.86 kB / 1.243 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.276, allocations: 31.78 kB / 1.243 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.276, allocations: 8 kB / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2761, allocations: 4 kB / 1.243 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.2761, allocations: 15.94 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.2761, allocations: 27.8 kB / 1.243 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2762, allocations: 83.8 kB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2763, allocations: 0 / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2763, allocations: 0 / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2763, allocations: 4 kB / 1.243 GB, free: 7.676 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.0003933/0.2767, allocations: 383.1 kB / 1.243 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2767, allocations: 8.031 kB / 1.243 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.2767, allocations: 38.75 kB / 1.243 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.2768, allocations: 8.891 kB / 1.243 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.277, allocations: 200.2 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.277, allocations: 384 / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.277, allocations: 16.36 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2771, allocations: 94.08 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2772, allocations: 3.938 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2772, allocations: 7.938 kB / 1.244 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2772, allocations: 4 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.2773, allocations: 39.92 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.2778, allocations: 448.6 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/0.2778, allocations: 37.34 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.2779, allocations: 17.78 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.2779, allocations: 0 / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2779, allocations: 38.56 kB / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2779, allocations: 0 / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.2781, allocations: 61.52 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2781, allocations: 77.11 kB / 1.244 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2783, allocations: 156.1 kB / 1.245 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2783, allocations: 25.7 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.2783, allocations: 100.1 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2784, allocations: 15.88 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.2784, allocations: 25.91 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2785, allocations: 318.8 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.2785, allocations: 4 kB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.2786, allocations: 17.72 kB / 1.245 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.2786, allocations: 21.72 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2786, allocations: 4 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.373e-05/0.2787, allocations: 65.58 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2787, allocations: 7.938 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.2787, allocations: 0 / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2787, allocations: 4 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.2788, allocations: 4 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.2788, allocations: 0 / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.2788, allocations: 7.953 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2789, allocations: 0 / 1.245 GB, free: 5.191 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.888e-05/0.2789, allocations: 121.9 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.279, allocations: 11.89 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.279, allocations: 11.88 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.279, allocations: 3.938 kB / 1.245 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.279, allocations: 0 / 1.245 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.279, allocations: 0 / 1.245 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.2794, allocations: 470.7 kB / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2794, allocations: 8 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.2794, allocations: 7.984 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2794, allocations: 3.938 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2795, allocations: 4 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2795, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2795, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.733e-05/0.2795, allocations: 77.89 kB / 1.246 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.2796, allocations: 93.08 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2796, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.796e-05/0.2796, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.2797, allocations: 4 kB / 1.246 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2797, allocations: 7.938 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.2798, allocations: 124.5 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2798, allocations: 0 / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001754/0.2799, 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.0003593/0.2803, allocations: 0.6138 MB / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.002e-05/0.2804, allocations: 23.92 kB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2804, allocations: 0 / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.2804, allocations: 4.219 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.2805, allocations: 12.06 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.001101/0.2817, allocations: 1.328 MB / 1.248 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2819, allocations: 0.6885 MB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.282, allocations: 16.5 kB / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.282, allocations: 23.44 kB / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.282, allocations: 0 / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/0.68, allocations: 1.57 MB / 1.25 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/10.13, allocations: 9.234 kB / 1.25 GB, free: 15.8 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches