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.004897/0.004897, allocations: 102.7 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.001167/0.001167, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7348 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 75.77 kB / 1.054 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8305, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002841/0.8334, allocations: 0.8208 MB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.8337, allocations: 43.78 kB / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.8338, allocations: 0 / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.512e-05/0.8338, allocations: 7.875 kB / 1.208 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.834, allocations: 19.8 kB / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.332e-05/0.8341, allocations: 19.98 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.8343, allocations: 59.84 kB / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.8345, allocations: 47.91 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.8346, allocations: 31.8 kB / 1.208 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.8347, allocations: 27.84 kB / 1.208 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.8347, allocations: 8 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.8347, allocations: 8 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.8347, allocations: 11.94 kB / 1.208 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.8348, allocations: 35.8 kB / 1.208 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.835, allocations: 73.95 kB / 1.208 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.835, allocations: 0 / 1.208 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.008e-06/0.835, allocations: 3.938 kB / 1.208 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.835, allocations: 3.938 kB / 1.208 GB, free: 12.28 MB / 0.9356 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.0005595/0.8356, allocations: 383.1 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.8356, allocations: 12.03 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.8357, allocations: 34.75 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.8357, allocations: 8.844 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.836, allocations: 192.2 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.836, allocations: 8.375 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.836, allocations: 4.375 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.8362, allocations: 101.4 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.8363, allocations: 7.938 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.8363, allocations: 0 / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.8363, allocations: 0 / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.8364, allocations: 39.92 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.837, allocations: 436.6 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.8371, allocations: 49.19 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.8371, allocations: 21.84 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.8371, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.8372, allocations: 30.56 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.8372, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.8374, allocations: 65.47 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.8374, allocations: 77.11 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.8376, allocations: 160.7 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.8376, allocations: 25.7 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.8377, allocations: 99.98 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.8377, allocations: 7.891 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.8378, allocations: 17.72 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8379, allocations: 331 kB / 1.21 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.838, allocations: 0 / 1.21 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.838, allocations: 21.72 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.838, allocations: 33.66 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8381, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.8382, allocations: 57.59 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8382, allocations: 19.88 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8382, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8382, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.8383, allocations: 4 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8383, allocations: 4 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.8383, allocations: 3.906 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.8384, allocations: 4 kB / 1.211 GB, free: 9.797 MB / 0.9356 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.944e-05/0.8385, allocations: 113.8 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.8385, allocations: 11.84 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.8385, allocations: 15.88 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.8386, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8386, allocations: 4 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.8386, allocations: 0 / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.839, allocations: 470.8 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.839, allocations: 0 / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.839, allocations: 7.984 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8391, allocations: 4.062 kB / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.8391, allocations: 0 / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8391, allocations: 0 / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8391, allocations: 0 / 1.211 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.8392, allocations: 81.78 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.8393, allocations: 92.94 kB / 1.211 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.8393, allocations: 4 kB / 1.211 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.8393, allocations: 4.031 kB / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.8394, allocations: 0 / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.8394, allocations: 0 / 1.211 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001436/0.8395, allocations: 121.3 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8395, allocations: 0 / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00021/0.8397, allocations: 11.91 kB / 1.212 GB, free: 8.758 MB / 0.9356 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.0006234/0.8404, allocations: 0.6209 MB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.8405, allocations: 15.98 kB / 1.212 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8405, allocations: 0 / 1.212 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.8405, allocations: 7.938 kB / 1.212 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.8407, allocations: 12.22 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.8422, allocations: 1.334 MB / 1.213 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.8425, allocations: 0.6923 MB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.8426, allocations: 16.5 kB / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.8427, allocations: 19.44 kB / 1.214 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.8427, allocations: 4 kB / 1.214 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.8624, allocations: 1.6 MB / 1.216 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/8.297, allocations: 0 / 1.216 GB, free: 4.391 MB / 0.9356 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