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 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.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.001758/0.001759, allocations: 114.4 kB / 16.42 MB, free: 6.504 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.002277/0.002277, allocations: 189.4 kB / 17.34 MB, free: 5.738 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.003232/1.015, allocations: 0.8308 MB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002491/1.015, allocations: 43.78 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/1.015, allocations: 4 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/1.015, allocations: 11.86 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/1.016, allocations: 3.938 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.929e-05/1.016, allocations: 19.98 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/1.016, allocations: 59.78 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/1.016, allocations: 55.89 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/1.016, allocations: 23.88 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/1.016, allocations: 27.84 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/1.016, allocations: 4 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/1.016, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/1.016, allocations: 11.94 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/1.017, allocations: 47.67 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/1.017, allocations: 67.7 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.017, allocations: 4 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.525e-06/1.017, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.017, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 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.0007317/1.018, allocations: 384.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/1.018, allocations: 8.031 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/1.018, allocations: 12.84 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/1.018, allocations: 196.1 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/1.018, allocations: 384 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/1.018, allocations: 16.38 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/1.018, allocations: 83.95 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.018, allocations: 192 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.018, allocations: 7.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/1.018, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/1.018, allocations: 43.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/1.019, allocations: 432.5 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/1.019, allocations: 49.33 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/1.019, allocations: 13.78 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/1.019, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.019, allocations: 42.56 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/1.019, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002114/1.02, allocations: 53.48 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.02, allocations: 81.09 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/1.02, allocations: 150.3 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/1.02, allocations: 33.64 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/1.02, allocations: 108 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/1.02, allocations: 12.16 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/1.02, allocations: 25.64 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.02, allocations: 314.8 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/1.02, allocations: 7.984 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/1.02, allocations: 21.66 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/1.02, allocations: 21.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.02, allocations: 8 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/1.021, allocations: 61.53 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.021, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.021, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.021, allocations: 7.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/1.021, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.021, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/1.021, allocations: 7.906 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/1.021, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 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.000101/1.021, allocations: 117.9 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/1.021, allocations: 11.89 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/1.021, allocations: 15.81 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.021, allocations: 4.031 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.021, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/1.021, allocations: 92.98 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.021, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/1.021, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/1.021, allocations: 4 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001418/1.021, allocations: 200.2 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001941/1.022, allocations: 294 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.207e-05/1.022, allocations: 4 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001108/1.022, allocations: 125.6 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of Backend: time 7.01e-07/1.022, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004553/1.022, allocations: 100.3 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006397/1.023, allocations: 0.6083 MB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.003066/1.026, allocations: 0.5381 MB / 1.214 GB, free: 7.805 MB / 0.9356 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