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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001153/0.001153, allocations: 103 kB / 16.27 MB, free: 5.891 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.001205/0.001205, allocations: 190.8 kB / 17.19 MB, free: 5.535 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6653 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 66.69 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2677, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002278/0.27, allocations: 0.833 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.2701, allocations: 43.78 kB / 0.9511 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.2702, allocations: 0 / 0.9511 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.2703, allocations: 7.875 kB / 0.9511 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.2704, allocations: 7.875 kB / 0.9511 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.158e-05/0.2704, allocations: 23.97 kB / 0.9512 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2705, allocations: 55.86 kB / 0.9512 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2707, allocations: 39.97 kB / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.2708, allocations: 23.92 kB / 0.9513 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.2708, allocations: 35.78 kB / 0.9513 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2708, allocations: 4 kB / 0.9513 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.2709, allocations: 8 kB / 0.9513 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.2709, allocations: 19.86 kB / 0.9513 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.2709, allocations: 35.8 kB / 0.9514 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.271, allocations: 68 kB / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.271, allocations: 0 / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2711, allocations: 0 / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2711, allocations: 0 / 0.9514 GB, free: 7.633 MB / 0.7325 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.0004264/0.2715, allocations: 383.1 kB / 0.9518 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2715, allocations: 8.031 kB / 0.9518 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.2716, allocations: 12.84 kB / 0.9518 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.2718, allocations: 188.2 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2718, allocations: 8.375 kB / 0.952 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2718, allocations: 12.31 kB / 0.952 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.272, allocations: 98.5 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.272, allocations: 192 / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.272, allocations: 7.938 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.272, allocations: 0 / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.2721, allocations: 39.92 kB / 0.9522 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.2727, allocations: 432.7 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.592e-05/0.2728, allocations: 37.31 kB / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.2728, allocations: 17.72 kB / 0.9526 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.2728, allocations: 4 kB / 0.9526 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2728, allocations: 38.55 kB / 0.9527 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2728, allocations: 0 / 0.9527 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/0.273, allocations: 57.48 kB / 0.9527 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2731, allocations: 81.05 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2732, allocations: 171.9 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2733, allocations: 25.95 kB / 0.953 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.2733, allocations: 108 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.2733, allocations: 3.906 kB / 0.9531 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.2734, allocations: 17.72 kB / 0.9531 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2735, allocations: 322.8 kB / 0.9534 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.2735, allocations: 4 kB / 0.9534 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.2736, allocations: 25.64 kB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.2736, allocations: 25.72 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2736, allocations: 0 / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.844e-05/0.2737, allocations: 61.55 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2737, allocations: 4 kB / 0.9535 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2737, allocations: 4.031 kB / 0.9535 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.2738, allocations: 7.969 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.2738, allocations: 8 kB / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.2738, allocations: 0 / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.2739, allocations: 11.91 kB / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2739, allocations: 4 kB / 0.9536 GB, free: 5.188 MB / 0.7325 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 7.225e-05/0.274, allocations: 115.8 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.274, allocations: 7.906 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.274, allocations: 15.8 kB / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2741, allocations: 4 kB / 0.9537 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2741, allocations: 4 kB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2741, allocations: 0 / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.2745, allocations: 474.8 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2745, allocations: 0 / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.2745, allocations: 4 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2745, allocations: 0 / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2745, allocations: 0 / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.2745, allocations: 3.938 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2745, allocations: 4 kB / 0.9542 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.2746, allocations: 85.89 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.2747, allocations: 85.02 kB / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2747, allocations: 3.984 kB / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.2747, allocations: 3.938 kB / 0.9544 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.2748, allocations: 4 kB / 0.9544 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2748, allocations: 4 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.2749, allocations: 122.3 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2749, allocations: 4.031 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000187/0.2751, allocations: 4 kB / 0.9545 GB, free: 4.148 MB / 0.7325 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.0001038/0.2752, allocations: 99.25 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.2753, allocations: 19.94 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2753, allocations: 3.938 kB / 0.9546 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.2753, allocations: 8 kB / 0.9546 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.2755, allocations: 16.11 kB / 0.9546 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.2758, allocations: 184.5 kB / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.2761, allocations: 0.7 MB / 0.9555 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.2761, allocations: 11.44 kB / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2761, allocations: 0 / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of Templates: time 0.002196/0.2783, allocations: 0.8598 MB / 0.9563 GB, free: 2.176 MB / 0.7325 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/jenkins1/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