Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.009827/0.009827, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003727, allocations: 15.78 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3599, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001093/0.361, allocations: 0.5492 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.3612, allocations: 39.78 kB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.3612, allocations: 0 / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.3613, allocations: 3.938 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.3614, allocations: 4 kB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.265e-05/0.3614, allocations: 15.98 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3615, allocations: 67.69 kB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3617, allocations: 51.89 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.3617, allocations: 11.88 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.3618, allocations: 19.86 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3618, allocations: 4 kB / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.3618, allocations: 0 / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.3618, allocations: 11.94 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.3619, allocations: 53.44 kB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.362, allocations: 71.97 kB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.362, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.362, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.362, allocations: 0 / 1.06 GB, free: 4.578 MB / 0.8106 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.0003967/0.3624, allocations: 363.3 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3625, allocations: 8.031 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.3625, allocations: 12.83 kB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3627, allocations: 188.2 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3627, allocations: 12.38 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3628, allocations: 8.375 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3629, allocations: 92.83 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.3629, allocations: 192 / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.363, allocations: 11.94 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.363, allocations: 0 / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.3631, allocations: 43.84 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.3636, allocations: 444.6 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.3637, allocations: 33.16 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.3637, allocations: 25.88 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.3637, allocations: 4 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3638, allocations: 30.56 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.178e-06/0.3638, allocations: 3.984 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.364, allocations: 61.47 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.364, allocations: 77.11 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3642, allocations: 161.1 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3642, allocations: 25.95 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3643, allocations: 115.9 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.3643, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.3643, allocations: 13.72 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3645, allocations: 318.8 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.3645, allocations: 4 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.3645, allocations: 17.72 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.3646, allocations: 41.64 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3646, allocations: 0 / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.907e-05/0.3647, allocations: 57.48 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3647, allocations: 4 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3647, allocations: 3.938 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3647, allocations: 4 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.3648, allocations: 7.984 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3648, allocations: 0 / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.3649, allocations: 11.84 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3649, allocations: 4.062 kB / 1.062 GB, free: 2.152 MB / 0.8106 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 8.644e-05/0.365, allocations: 115.4 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.365, allocations: 7.906 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.3651, allocations: 15.81 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3651, allocations: 0 / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3651, allocations: 0 / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3651, allocations: 3.984 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3655, allocations: 474.8 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3655, allocations: 0 / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.3655, allocations: 7.938 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3655, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3656, allocations: 4 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3656, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3656, allocations: 0 / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3657, allocations: 85.83 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.3657, allocations: 89.02 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3657, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.3658, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.3658, allocations: 7.984 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3658, allocations: 4 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.31e-05/0.3659, allocations: 117.9 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3659, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001901/0.3661, allocations: 15.94 kB / 1.063 GB, free: 1.113 MB / 0.8106 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.0001218/0.3662, allocations: 101.3 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.3663, allocations: 19.94 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3663, allocations: 0 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.3663, allocations: 8 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.3665, allocations: 4.969 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.3669, allocations: 184.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3672, allocations: 0.6926 MB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.3672, allocations: 12.42 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3672, allocations: 11.44 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.3672, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of Templates: time 0.002514/0.3698, allocations: 429.3 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches