Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.00542/0.00542, allocations: 102 kB / 15.73 MB, free: 6.488 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.001184/0.001185, allocations: 194.7 kB / 16.68 MB, free: 6.375 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.778/1.778, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.714/3.714, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 66.8 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4338, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00279/0.4367, allocations: 0.8215 MB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.4369, allocations: 47.78 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.437, allocations: 0 / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.4371, allocations: 7.875 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.4372, allocations: 11.88 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.503e-05/0.4373, allocations: 19.97 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.4375, allocations: 59.84 kB / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.4377, allocations: 51.94 kB / 1.088 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.4378, allocations: 27.86 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.4379, allocations: 27.8 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.438, allocations: 8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.438, allocations: 4 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.438, allocations: 15.92 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.4381, allocations: 39.75 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.4383, allocations: 74.5 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4383, allocations: 4 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4383, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4383, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 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.000596/0.439, allocations: 376.1 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.439, allocations: 8.031 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.4391, allocations: 46.67 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.4391, allocations: 12.75 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.4394, allocations: 188.2 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4395, allocations: 12.38 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.4395, allocations: 4.375 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4398, allocations: 97.44 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4398, allocations: 3.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.4398, allocations: 8 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.4398, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.44, allocations: 31.98 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.4408, allocations: 444.5 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.4409, allocations: 33.16 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.4409, allocations: 21.83 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.441, allocations: 11.97 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.441, allocations: 34.56 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.441, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002632/0.4413, allocations: 53.48 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.4414, allocations: 81.11 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.4416, allocations: 155.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4416, allocations: 29.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.4417, allocations: 108.3 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.4418, allocations: 3.906 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.4418, allocations: 17.66 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.442, allocations: 318.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.442, allocations: 8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.4421, allocations: 21.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.4422, allocations: 33.66 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4422, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.4423, allocations: 49.61 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4424, allocations: 11.92 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4424, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.4424, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.4425, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4425, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.4426, allocations: 15.84 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4426, allocations: 64 / 1.091 GB, free: 14.29 MB / 0.8575 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 0.0001121/0.4427, allocations: 117.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.4428, allocations: 11.84 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.4429, allocations: 15.86 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4429, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4429, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4429, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.4435, allocations: 470.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4435, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.4436, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.4436, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4436, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4436, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4436, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.4438, allocations: 85.83 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.4439, allocations: 93 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.4439, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.4439, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.444, allocations: 96 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.444, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001375/0.4441, allocations: 124.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4441, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003883/0.4445, allocations: 12 kB / 1.092 GB, free: 13.25 MB / 0.8575 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.0005037/0.4451, allocations: 0.6248 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4452, allocations: 12 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4452, allocations: 4.156 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.4453, allocations: 11.94 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.4456, allocations: 15.84 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.4474, allocations: 1.326 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.4478, allocations: 0.6967 MB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.4478, allocations: 4.438 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.4479, allocations: 27.42 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 3.617e-06/0.4479, allocations: 0 / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.4857, allocations: 1.577 MB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.18, allocations: 8 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches