Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.00103/0.001029, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001164/0.001164, allocations: 172.7 kB / 15.95 MB, free: 208 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.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.312 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.539/2.539, allocations: 390.9 MB / 0.666 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8489/0.8493, allocations: 142.4 MB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.0008637/0.8502, allocations: 0.5144 MB / 0.9549 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.8503, allocations: 41.56 kB / 0.955 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.8503, allocations: 5.094 kB / 0.955 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.8504, allocations: 9.203 kB / 0.955 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.8505, allocations: 3.938 kB / 0.955 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.219e-05/0.8505, allocations: 12.22 kB / 0.955 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.8506, allocations: 53.62 kB / 0.9551 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.8507, allocations: 34.27 kB / 0.9551 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.8508, allocations: 21.19 kB / 0.9551 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.8508, allocations: 16.7 kB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.8509, allocations: 0.9062 kB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.8509, allocations: 2.219 kB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8509, allocations: 9.469 kB / 0.9551 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.8509, allocations: 37.36 kB / 0.9552 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.348e-05/0.851, allocations: 50.44 kB / 0.9552 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.851, allocations: 0 / 0.9552 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.851, allocations: 0 / 0.9552 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.851, allocations: 1.375 kB / 0.9552 GB, free: 7.168 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.0003331/0.8514, allocations: 375.8 kB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.8514, allocations: 8.469 kB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.8514, allocations: 17.17 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.8516, allocations: 185.2 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.8516, allocations: 3.594 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.8516, allocations: 8.469 kB / 0.9558 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.8518, allocations: 94.34 kB / 0.9559 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8518, allocations: 4 kB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.8518, allocations: 5.188 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8518, allocations: 6.188 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.8519, allocations: 42.59 kB / 0.9559 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.8523, allocations: 431.3 kB / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.8524, allocations: 44.06 kB / 0.9564 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.8524, allocations: 19.45 kB / 0.9564 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.8524, allocations: 1 kB / 0.9564 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.8525, allocations: 35.38 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.8525, allocations: 4 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.8527, allocations: 50.58 kB / 0.9565 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.8527, allocations: 78.23 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8528, allocations: 162.9 kB / 0.9567 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.8528, allocations: 31.08 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.8529, allocations: 107.8 kB / 0.9569 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.8529, allocations: 12.72 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.8529, allocations: 1.094 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.853, allocations: 328.3 kB / 0.9572 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.853, allocations: 7.219 kB / 0.9572 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.853, allocations: 19.36 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.853, allocations: 7.969 kB / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.853, allocations: 1.594 kB / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.337e-05/0.8531, allocations: 57.52 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8531, allocations: 6.094 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8532, allocations: 4 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.8532, allocations: 0.9688 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.8532, allocations: 9.672 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8532, allocations: 1.312 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.8533, allocations: 2.031 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.8533, allocations: 4.828 kB / 0.9573 GB, free: 5.043 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 5.643e-05/0.8533, allocations: 118.3 kB / 0.9574 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.8534, allocations: 6.906 kB / 0.9574 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.8534, allocations: 18.77 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8534, allocations: 0.9062 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8534, allocations: 1.125 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8534, allocations: 0.9688 kB / 0.9574 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.8537, allocations: 473.4 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8537, allocations: 1 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.8538, allocations: 3.188 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8538, allocations: 1.188 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.8538, allocations: 4 kB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8538, allocations: 1.219 kB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8538, allocations: 4.969 kB / 0.9579 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.225e-05/0.8539, allocations: 82.25 kB / 0.958 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.8539, allocations: 84.42 kB / 0.9581 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.8539, allocations: 4.891 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.8539, allocations: 4.031 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.854, allocations: 1.125 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.854, allocations: 2.094 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.854, allocations: 123 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.854, allocations: 1.031 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001899/0.8542, allocations: 14.8 kB / 0.9582 GB, free: 4.09 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.0001017/0.8543, allocations: 99.75 kB / 0.9583 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.8544, allocations: 22.91 kB / 0.9583 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8544, allocations: 0 / 0.9583 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.8545, allocations: 7.375 kB / 0.9583 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.8546, allocations: 8.859 kB / 0.9583 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.855, allocations: 186.5 kB / 0.9585 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.8551, allocations: 0.6907 MB / 0.9592 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.8551, allocations: 9.047 kB / 0.9592 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.8551, allocations: 12.75 kB / 0.9592 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.8552, allocations: 4 kB / 0.9592 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.002526/0.8577, allocations: 417 kB / 0.9596 GB, free: 2.859 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches