Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_10_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.00828/0.00828, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.00207/0.00207, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.636/2.636, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2706, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002212/0.2728, allocations: 0.8178 MB / 1.167 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.273, allocations: 43.8 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.2731, allocations: 4 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.2731, allocations: 11.86 kB / 1.167 GB, free: 6.418 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.2732, allocations: 19.86 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.544e-05/0.2733, allocations: 11.98 kB / 1.167 GB, free: 6.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2734, allocations: 67.83 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2735, allocations: 39.98 kB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.2736, allocations: 27.86 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.2737, allocations: 31.8 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2737, allocations: 7.938 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.2737, allocations: 8 kB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.2737, allocations: 19.86 kB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.2738, allocations: 31.8 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.2739, allocations: 70.53 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2739, allocations: 3.984 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2739, allocations: 4 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2739, allocations: 4 kB / 1.167 GB, free: 6.078 MB / 0.92 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.0004197/0.2744, allocations: 376 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2744, allocations: 12.03 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.2745, allocations: 38.73 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.2745, allocations: 12.84 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.2747, allocations: 196.1 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2747, allocations: 4.375 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.2747, allocations: 12.38 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.2749, allocations: 98.06 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2749, allocations: 7.875 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2749, allocations: 7.984 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2749, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.275, allocations: 35.98 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.2756, allocations: 436.6 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.2757, allocations: 33.16 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.2757, allocations: 21.84 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2758, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2758, allocations: 42.48 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2758, allocations: 0 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/0.276, allocations: 57.55 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.276, allocations: 81.05 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2762, allocations: 155.3 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2762, allocations: 25.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.2763, allocations: 104 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.2763, allocations: 8.156 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.2764, allocations: 17.72 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2765, allocations: 322.8 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.2765, allocations: 4 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.2765, allocations: 21.7 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.2766, allocations: 25.72 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2766, allocations: 7.938 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.591e-05/0.2767, allocations: 53.61 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2767, allocations: 11.94 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2767, allocations: 3.938 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2767, allocations: 3.984 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.2768, allocations: 8 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2768, allocations: 3.938 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.2769, allocations: 7.844 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.2769, allocations: 4 kB / 1.17 GB, free: 3.594 MB / 0.92 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 8.696e-05/0.277, allocations: 117.9 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.277, allocations: 11.84 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.2771, allocations: 11.86 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2771, allocations: 4 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2771, allocations: 3.938 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2771, allocations: 0 / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.2775, allocations: 470.8 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.2775, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2775, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.2776, allocations: 93.83 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.2777, allocations: 81.02 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2777, allocations: 7.984 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.2777, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.2777, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.2777, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.389e-05/0.2778, allocations: 125.9 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2778, allocations: 0 / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001905/0.278, allocations: 11.91 kB / 1.17 GB, free: 2.555 MB / 0.92 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.0003445/0.2784, allocations: 0.6171 MB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.2785, allocations: 19.94 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2785, allocations: 160 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.2785, allocations: 8 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2787, allocations: 7.938 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2798, allocations: 1.323 MB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.2801, allocations: 0.7007 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.2801, allocations: 8.516 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.2802, allocations: 27.42 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2802, allocations: 3.938 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.2968, allocations: 1.574 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.732, allocations: 6.188 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches