Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001718/0.001718, allocations: 110 kB / 16.42 MB, free: 6.523 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.001962/0.001962, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.077, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002749/1.08, allocations: 0.8208 MB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002076/1.08, allocations: 47.78 kB / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/1.081, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.557e-05/1.081, allocations: 11.86 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/1.081, allocations: 7.875 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.23e-05/1.081, allocations: 19.98 kB / 1.227 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/1.081, allocations: 67.81 kB / 1.227 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/1.081, allocations: 43.88 kB / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/1.081, allocations: 31.8 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/1.081, allocations: 27.86 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/1.081, allocations: 8 kB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/1.081, allocations: 4 kB / 1.227 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/1.081, allocations: 19.92 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/1.082, allocations: 35.75 kB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/1.082, allocations: 72.14 kB / 1.228 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.082, allocations: 3.984 kB / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/1.082, allocations: 0 / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.082, allocations: 0 / 1.228 GB, free: 12.29 MB / 0.9512 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.0005219/1.082, allocations: 379.2 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.082, allocations: 12.03 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/1.082, allocations: 20.84 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/1.083, allocations: 188.2 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.083, allocations: 4.375 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/1.083, allocations: 8.375 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/1.083, allocations: 97.36 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.083, allocations: 192 / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/1.083, allocations: 7.938 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.083, allocations: 4 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.283e-05/1.083, allocations: 39.92 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/1.084, allocations: 436.7 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/1.084, allocations: 45.19 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/1.084, allocations: 21.84 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/1.084, allocations: 3.938 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.084, allocations: 34.56 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/1.084, allocations: 0 / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/1.084, allocations: 61.52 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.084, allocations: 81.36 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.084, allocations: 159.7 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/1.084, allocations: 25.7 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/1.084, allocations: 100 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/1.084, allocations: 7.938 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/1.084, allocations: 21.67 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.085, allocations: 326.8 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.085, allocations: 4 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/1.085, allocations: 21.72 kB / 1.23 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/1.085, allocations: 25.66 kB / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.085, allocations: 0 / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.802e-05/1.085, allocations: 61.58 kB / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.085, allocations: 8 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.085, allocations: 0 / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.085, allocations: 8 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/1.085, allocations: 8 kB / 1.23 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.085, allocations: 0 / 1.23 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/1.085, allocations: 3.938 kB / 1.23 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/1.085, allocations: 4 kB / 1.23 GB, free: 9.848 MB / 0.9512 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 9.053e-05/1.085, allocations: 117.8 kB / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/1.085, allocations: 8.047 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/1.085, allocations: 15.8 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.085, allocations: 4 kB / 1.23 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.085, allocations: 4 kB / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/1.085, allocations: 89 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/1.085, allocations: 4 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/1.085, allocations: 0 / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/1.085, allocations: 0 / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001216/1.085, allocations: 196.2 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001784/1.086, allocations: 302 kB / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.075e-05/1.086, allocations: 7.984 kB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.08e-05/1.086, allocations: 121.5 kB / 1.23 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of Backend: time 2.7e-07/1.086, allocations: 0 / 1.23 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004444/1.086, allocations: 88.64 kB / 1.231 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005168/1.087, allocations: 0.6161 MB / 1.231 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.003033/1.09, allocations: 0.5267 MB / 1.232 GB, free: 7.656 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches