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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009417, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001002/0.001001, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.698/2.698, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003499, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.844, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0009973/0.845, allocations: 0.5142 MB / 0.9549 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001059/0.8451, allocations: 32.97 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.8452, allocations: 5.938 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.8452, allocations: 3.938 kB / 0.955 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.8453, allocations: 8.938 kB / 0.955 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.409e-05/0.8454, allocations: 15.08 kB / 0.955 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.701e-05/0.8455, allocations: 58.72 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.8456, allocations: 26.61 kB / 0.9551 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.8457, allocations: 17.45 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.8458, allocations: 27.3 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.8458, allocations: 2.344 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-06/0.8458, allocations: 2.094 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.8458, allocations: 10.02 kB / 0.9551 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.8458, allocations: 36.55 kB / 0.9552 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.8459, allocations: 46.64 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8459, allocations: 0 / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.846, allocations: 0 / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.846, allocations: 1.219 kB / 0.9552 GB, free: 7.086 MB / 0.7169 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.0003634/0.8463, allocations: 372.1 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8464, allocations: 8.188 kB / 0.9556 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.8464, allocations: 17.05 kB / 0.9556 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.8466, allocations: 189.1 kB / 0.9558 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.8466, allocations: 6.75 kB / 0.9558 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.8467, allocations: 9.594 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.8468, allocations: 85.8 kB / 0.9559 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8468, allocations: 3.938 kB / 0.9559 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.8469, allocations: 13.3 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.8469, allocations: 1.344 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.847, allocations: 39.66 kB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.8474, allocations: 437.2 kB / 0.9564 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.8475, allocations: 41.44 kB / 0.9564 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.8476, allocations: 20.09 kB / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.8476, allocations: 0 / 0.9564 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.8476, allocations: 43.89 kB / 0.9565 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8476, allocations: 0 / 0.9565 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.8478, allocations: 54.48 kB / 0.9565 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.8478, allocations: 82.45 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.848, allocations: 159 kB / 0.9567 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.848, allocations: 26.67 kB / 0.9568 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.848, allocations: 107.7 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.8481, allocations: 9.344 kB / 0.9569 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.8481, allocations: 0 / 0.9569 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.8481, allocations: 325.2 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.8482, allocations: 7.812 kB / 0.9572 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.8482, allocations: 19.09 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.8482, allocations: 8.281 kB / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8482, allocations: 0 / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.7e-05/0.8483, allocations: 58.78 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.8483, allocations: 5.688 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8483, allocations: 0 / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8484, allocations: 5.656 kB / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.8484, allocations: 9.422 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.8484, allocations: 1.281 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.8485, allocations: 9.234 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.8485, allocations: 1.438 kB / 0.9573 GB, free: 4.961 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.8486, allocations: 117.8 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.8486, allocations: 7.406 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.8486, allocations: 7.438 kB / 0.9574 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8486, allocations: 1.281 kB / 0.9574 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8487, allocations: 4 kB / 0.9574 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8487, allocations: 1.219 kB / 0.9574 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.8489, allocations: 474 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.849, allocations: 7.922 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.849, allocations: 7.594 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.849, allocations: 1.219 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.849, allocations: 0 / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.849, allocations: 5.125 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.849, allocations: 5.172 kB / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.156e-05/0.8491, allocations: 78.2 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.8491, allocations: 91.28 kB / 0.9581 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.8491, allocations: 1.25 kB / 0.9581 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.8492, allocations: 1 kB / 0.9581 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.8492, allocations: 5.25 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.8492, allocations: 1.031 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.8493, allocations: 118.7 kB / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.11e-07/0.8493, allocations: 1.062 kB / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001911/0.8495, allocations: 22.23 kB / 0.9582 GB, free: 4 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.8496, allocations: 104.7 kB / 0.9583 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.8497, allocations: 14.09 kB / 0.9583 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8497, allocations: 4.125 kB / 0.9583 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.8497, allocations: 7.812 kB / 0.9583 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.8499, allocations: 9.031 kB / 0.9584 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.8502, allocations: 178 kB / 0.9585 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.8503, allocations: 0.691 MB / 0.9592 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.8503, allocations: 8.891 kB / 0.9592 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.8504, allocations: 10.66 kB / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8504, allocations: 0 / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.002439/0.8528, allocations: 419.4 kB / 0.9596 GB, free: 2.781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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