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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007237/0.007237, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001515/0.001515, allocations: 187.7 kB / 16.67 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3302, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002076/0.3323, allocations: 0.8385 MB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.3325, allocations: 43.78 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.507e-05/0.3326, allocations: 4 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.3326, allocations: 7.875 kB / 1.208 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.3327, allocations: 11.88 kB / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.134e-05/0.3328, allocations: 15.98 kB / 1.208 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3329, allocations: 63.83 kB / 1.208 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3331, allocations: 43.92 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.3332, allocations: 23.86 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.3333, allocations: 35.8 kB / 1.208 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3333, allocations: 4 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.3333, allocations: 8 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3333, allocations: 19.91 kB / 1.208 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.3334, allocations: 27.81 kB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3335, allocations: 71.8 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3335, allocations: 7.938 kB / 1.208 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3336, allocations: 0 / 1.208 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.3336, allocations: 3.984 kB / 1.208 GB, free: 8.879 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.0005244/0.3341, allocations: 379.2 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3342, allocations: 8.625 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.3342, allocations: 46.67 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.3342, allocations: 8.844 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.3345, allocations: 196.1 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3345, allocations: 8.375 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3345, allocations: 8.375 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3347, allocations: 91.89 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3348, allocations: 11.92 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3348, allocations: 7.984 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3348, allocations: 4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.3349, allocations: 31.98 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.3355, allocations: 432.5 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.3356, allocations: 37.16 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.3357, allocations: 21.84 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3357, allocations: 4.031 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3357, allocations: 34.55 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3357, allocations: 0 / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.00021/0.3359, allocations: 61.48 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.336, allocations: 81.11 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3362, allocations: 158.2 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.3362, allocations: 25.7 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.3363, allocations: 107.9 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.3363, allocations: 0 / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.3364, allocations: 21.62 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3365, allocations: 323.1 kB / 1.21 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.3365, allocations: 8 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.3366, allocations: 21.7 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.3366, allocations: 25.66 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3366, allocations: 3.938 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.156e-05/0.3367, allocations: 57.61 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3367, allocations: 13.56 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3367, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3368, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.3368, allocations: 15.92 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3369, allocations: 0 / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.3369, allocations: 3.938 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3369, allocations: 4 kB / 1.211 GB, free: 6.391 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 9.886e-05/0.337, allocations: 113.8 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.3371, allocations: 11.84 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3371, allocations: 15.86 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3371, allocations: 4 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3371, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3371, allocations: 0 / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3375, allocations: 470.7 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3375, allocations: 0 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.3376, allocations: 8 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3376, allocations: 0 / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3376, allocations: 4.062 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3376, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3376, allocations: 4 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.03e-05/0.3377, allocations: 85.77 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3378, allocations: 85.02 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3378, allocations: 0 / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.335e-05/0.3378, allocations: 8.016 kB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.3378, allocations: 0 / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.3378, allocations: 4 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.934e-05/0.3379, allocations: 125.7 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3379, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001998/0.3381, allocations: 4 kB / 1.212 GB, free: 5.355 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.0003746/0.3385, allocations: 0.6248 MB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.3386, allocations: 16 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3386, allocations: 0 / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.3386, allocations: 7.938 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.3388, allocations: 13.89 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.34, allocations: 1.327 MB / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3403, allocations: 0.6963 MB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.3404, allocations: 4.438 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3404, allocations: 31.42 kB / 1.214 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3404, allocations: 3.938 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.3582, allocations: 1.604 MB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.893, allocations: 11.98 kB / 1.216 GB, free: 0.9766 MB / 0.9669 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=50 --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