Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 82.5 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.317e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7073/0.9252, allocations: 131.3 MB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.9255, allocations: 69.45 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002721/0.9282, allocations: 1.159 MB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9282, allocations: 3.938 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9282, allocations: 4 kB / 1.021 GB, free: 2.277 MB / 0.6355 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.0002947/0.9285, allocations: 365.2 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9286, allocations: 8.031 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.9286, allocations: 7.906 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.9288, allocations: 183.9 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.9288, allocations: 4 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.9288, allocations: 11.88 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.929, allocations: 92.39 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.929, allocations: 0 / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.929, allocations: 3.688 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.929, allocations: 4 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.9291, allocations: 36.25 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.9296, allocations: 466.1 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.9297, allocations: 47.34 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.9297, allocations: 17.84 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.9297, allocations: 0 / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.9297, allocations: 44.78 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.9298, allocations: 0 / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.9299, allocations: 49.36 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.93, allocations: 77.11 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.9301, allocations: 163.9 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.9301, allocations: 25.7 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.9302, allocations: 110.4 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.9302, allocations: 7.906 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.9302, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9303, allocations: 318.3 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.9303, allocations: 4 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.9304, allocations: 25.14 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.9304, allocations: 11.5 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9304, allocations: 3.953 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.647e-05/0.9305, allocations: 64.47 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9305, allocations: 9.562 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.9305, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.9305, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.9306, allocations: 8 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9306, allocations: 4 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.9307, allocations: 11.19 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.9307, allocations: 4 kB / 1.023 GB, free: 36 kB / 0.6355 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 () * 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 7.049e-05/0.9308, allocations: 104.9 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.9308, allocations: 15.77 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.9309, allocations: 20.09 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9309, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9309, allocations: 3.938 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.9309, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.9313, allocations: 483.8 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9313, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.9313, allocations: 4 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9313, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.9313, allocations: 7.312 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9313, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9313, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.937e-05/0.9314, allocations: 94.75 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.9315, allocations: 85.02 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.9315, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.9315, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.9316, allocations: 11.86 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.9316, allocations: 3.375 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.469e-05/0.9317, allocations: 128.6 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9317, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001726/0.9318, allocations: 11.44 kB / 1.024 GB, free: 15.01 MB / 0.6511 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 () * 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.0001023/0.932, allocations: 99.2 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.932, allocations: 15.19 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.932, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.9321, allocations: 15.12 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.357e-05/0.9322, allocations: 10 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.9324, allocations: 109.3 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.9326, allocations: 0.7004 MB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.9327, allocations: 8.422 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.9327, allocations: 19.38 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.9327, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of Templates: time 0.00208/0.9348, allocations: 461 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches