Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001129/0.001129, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001314, allocations: 173 kB / 16.92 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437.8 MB / 0.7128 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6745/0.6749, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001002/0.6759, allocations: 0.551 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001076/0.676, allocations: 31.86 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.6761, allocations: 7.938 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.6761, allocations: 7.922 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.6762, allocations: 3.938 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.444e-05/0.6763, allocations: 15.98 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.6764, allocations: 67.77 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.6765, allocations: 35.97 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.6766, allocations: 19.88 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.6766, allocations: 15.86 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.6767, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.6767, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.6767, allocations: 7.938 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.6768, allocations: 53.5 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.6769, allocations: 57.84 kB / 1.025 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6769, allocations: 3.938 kB / 1.025 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6769, allocations: 0 / 1.025 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6769, allocations: 0 / 1.025 GB, free: 14.94 MB / 0.7794 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.0003843/0.6773, allocations: 367.2 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6773, allocations: 11.97 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.6774, allocations: 8.844 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.6776, allocations: 192.2 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6776, allocations: 12.38 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.6776, allocations: 8.375 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.6778, allocations: 87.89 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.6778, allocations: 192 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6778, allocations: 11.94 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6778, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.6779, allocations: 39.97 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.6784, allocations: 444.5 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.6785, allocations: 33.16 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.6785, allocations: 21.84 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.6786, allocations: 8.031 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.6786, allocations: 30.56 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.6786, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.6788, allocations: 61.47 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6788, allocations: 81.11 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.679, allocations: 161.3 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.679, allocations: 29.7 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.6791, allocations: 108 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.6791, allocations: 3.906 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.6791, allocations: 17.66 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.6792, allocations: 314.8 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.6792, allocations: 11.98 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.6793, allocations: 13.72 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.6793, allocations: 33.66 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.6793, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.469e-05/0.6794, allocations: 57.53 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6794, allocations: 4 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6794, allocations: 3.938 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6795, allocations: 4 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.6795, allocations: 7.938 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.6795, allocations: 0 / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.6796, allocations: 11.97 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.6796, allocations: 4 kB / 1.027 GB, free: 12.51 MB / 0.7794 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 6.964e-05/0.6797, allocations: 113.8 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.6797, allocations: 7.906 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.6797, allocations: 15.81 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.6798, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6798, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.6798, allocations: 0 / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.6801, allocations: 474.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6802, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.6802, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6802, allocations: 3.984 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6802, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6802, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6802, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.926e-05/0.6803, allocations: 81.84 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.6804, allocations: 96.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.6804, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.6804, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.6804, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.6804, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.059e-05/0.6805, allocations: 120.5 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6805, allocations: 4.031 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002094/0.6807, allocations: 8 kB / 1.028 GB, free: 11.48 MB / 0.7794 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.0001041/0.6809, allocations: 101.3 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.412e-05/0.6809, allocations: 23.92 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6809, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.681, allocations: 8 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.6811, allocations: 11.94 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.6814, allocations: 214.3 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.6817, allocations: 0.6926 MB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.6817, allocations: 11.44 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6817, allocations: 3.938 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002135/0.6839, allocations: 0.8482 MB / 1.029 GB, free: 9.488 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches