Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.01112/0.01112, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001887/0.001887, allocations: 190.4 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 2.199/2.199, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 4.079/4.079, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002355, allocations: 66.52 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5647, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.004055/0.5688, allocations: 0.8254 MB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.5691, allocations: 47.8 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.5693, allocations: 0 / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.027e-05/0.5695, allocations: 11.88 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.5696, allocations: 15.84 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.413e-05/0.5697, allocations: 15.98 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.5699, allocations: 59.84 kB / 1.088 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.5702, allocations: 43.97 kB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.5703, allocations: 23.86 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.5705, allocations: 31.8 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.5705, allocations: 4 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.5705, allocations: 8 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.5706, allocations: 15.92 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.5706, allocations: 35.75 kB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.5709, allocations: 78.5 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.5709, allocations: 4 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5709, allocations: 0 / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.5709, allocations: 0 / 1.089 GB, free: 0.7578 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.000812/0.5717, allocations: 376.1 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.891e-05/0.5718, allocations: 8.031 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.5719, allocations: 46.67 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.572, allocations: 12.75 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.5723, allocations: 200.1 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5724, allocations: 4.375 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.5724, allocations: 8.375 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.5727, allocations: 91.89 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5727, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.5727, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.5727, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.5728, allocations: 31.98 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.5737, allocations: 440.5 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.5738, allocations: 37.14 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.776e-05/0.5738, allocations: 21.84 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5739, allocations: 8.031 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5739, allocations: 30.56 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/0.5739, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002654/0.5742, allocations: 61.48 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.5743, allocations: 81.09 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5745, allocations: 152.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5746, allocations: 29.89 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.5747, allocations: 108 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.5747, allocations: 7.844 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.5748, allocations: 21.7 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.575, allocations: 318.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.575, allocations: 7.984 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.575, allocations: 17.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.5751, allocations: 29.66 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5751, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.5752, allocations: 61.59 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.5752, allocations: 7.938 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5752, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5753, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.5754, allocations: 11.94 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5754, allocations: 3.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.5754, allocations: 11.91 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.5754, allocations: 4 kB / 1.091 GB, free: 14.27 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.0001236/0.5756, allocations: 113.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.5756, allocations: 11.84 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.5756, allocations: 11.86 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5757, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5757, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5757, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.5762, allocations: 470.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5762, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.5762, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5763, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5763, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5763, allocations: 3.984 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5763, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.5764, allocations: 85.84 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.5765, allocations: 93.08 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.5765, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.5765, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.5766, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.5766, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002854/0.5769, allocations: 125.3 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.755e-06/0.5769, allocations: 4.031 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001937/0.5771, allocations: 7.938 kB / 1.092 GB, free: 13.23 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.0005862/0.5777, allocations: 0.617 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.5778, allocations: 23.97 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5778, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.5779, allocations: 11.92 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.578, allocations: 11.91 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.5797, allocations: 1.32 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.5803, allocations: 0.6968 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.5803, allocations: 8.422 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.5804, allocations: 23.44 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.5804, allocations: 3.938 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.6094, allocations: 1.578 MB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.5, allocations: 7.984 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches