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 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.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.009069/0.009069, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.002124/0.002124, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.14 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001945/0.3221, allocations: 0.8214 MB / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.3222, allocations: 39.78 kB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.3223, allocations: 8 kB / 1.208 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.3223, allocations: 11.86 kB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.3224, allocations: 7.938 kB / 1.208 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.631e-05/0.3225, allocations: 15.98 kB / 1.208 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3226, allocations: 63.78 kB / 1.208 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.3227, allocations: 55.89 kB / 1.208 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.3228, allocations: 23.88 kB / 1.208 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.3229, allocations: 27.84 kB / 1.208 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3229, allocations: 8 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.3229, allocations: 4 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.3229, allocations: 11.94 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.323, allocations: 35.73 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3231, allocations: 83.86 kB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3231, allocations: 0 / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3231, allocations: 4 kB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3231, allocations: 0 / 1.208 GB, free: 8.988 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.0004204/0.3236, allocations: 379.2 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3236, allocations: 8.625 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.3237, allocations: 38.75 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.3237, allocations: 8.844 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3239, allocations: 196.1 kB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.324, allocations: 4.375 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.324, allocations: 12.38 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3241, allocations: 89.67 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3242, allocations: 7.922 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3242, allocations: 4 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3242, allocations: 4 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.3243, allocations: 35.92 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.3248, allocations: 444.5 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.3249, allocations: 41.28 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.3249, allocations: 17.78 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.3249, allocations: 0 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3249, allocations: 38.56 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.325, allocations: 0 / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.3251, allocations: 57.47 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3252, allocations: 77.11 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3253, allocations: 162.2 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3253, allocations: 25.7 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.3254, allocations: 107.9 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.3254, allocations: 8.25 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.3254, allocations: 21.56 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.3255, allocations: 318.8 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.3256, allocations: 8 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.3256, allocations: 17.66 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.3256, allocations: 29.72 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3256, allocations: 4 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.01e-05/0.3257, allocations: 57.53 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3257, allocations: 7.938 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3258, allocations: 0 / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3258, allocations: 4 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.3258, allocations: 4 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3258, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.3259, allocations: 15.92 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.3259, allocations: 0 / 1.211 GB, free: 6.508 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 6.704e-05/0.326, allocations: 117.9 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.326, allocations: 11.84 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.326, allocations: 7.875 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3261, allocations: 3.938 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3261, allocations: 0 / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3261, allocations: 0 / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3264, allocations: 478.8 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3264, allocations: 7.938 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.3265, allocations: 4 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3265, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.3265, allocations: 4 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3265, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3265, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.159e-05/0.3266, allocations: 81.86 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3266, allocations: 89.02 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3266, allocations: 0 / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.3267, allocations: 0 / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.3267, allocations: 7.938 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3267, allocations: 3.938 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.3268, allocations: 121.9 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3268, allocations: 0 / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001983/0.327, allocations: 8 kB / 1.212 GB, free: 5.469 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.000343/0.3273, allocations: 0.6157 MB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.3274, allocations: 23.92 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3274, allocations: 0 / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.3274, allocations: 16.09 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3276, allocations: 8 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3287, allocations: 1.323 MB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3289, allocations: 0.6968 MB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.329, allocations: 12.5 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.329, allocations: 23.44 kB / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.329, allocations: 0 / 1.214 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.3455, allocations: 1.606 MB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.623, allocations: 2.109 kB / 1.216 GB, free: 1.105 MB / 0.9669 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=50 --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