Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.0009768/0.000977, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001054/0.001054, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.871/2.871, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 12 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8607, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001116/0.8619, allocations: 0.5277 MB / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.862, allocations: 35.8 kB / 1.021 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.862, allocations: 0 / 1.021 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.8621, allocations: 3.938 kB / 1.021 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.8622, allocations: 11.98 kB / 1.021 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.951e-05/0.8622, allocations: 11.98 kB / 1.021 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.8623, allocations: 43.84 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.8625, allocations: 32.14 kB / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.8625, allocations: 19.86 kB / 1.021 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.8626, allocations: 19.86 kB / 1.022 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.8626, allocations: 4 kB / 1.022 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.8626, allocations: 0 / 1.022 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.8627, allocations: 7.938 kB / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.8627, allocations: 41.64 kB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.8628, allocations: 55.86 kB / 1.022 GB, free: 268 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8628, allocations: 0 / 1.022 GB, free: 268 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.686e-06/0.8628, allocations: 0 / 1.022 GB, free: 268 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8628, allocations: 0 / 1.022 GB, free: 268 kB / 0.7637 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.0004612/0.8633, allocations: 365.1 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.8634, allocations: 15.98 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.8634, allocations: 11.81 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.8636, allocations: 183 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.8636, allocations: 12 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.8637, allocations: 4 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.8638, allocations: 99.19 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8638, allocations: 0 / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.8638, allocations: 8 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.8639, allocations: 3.938 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.032e-05/0.8639, allocations: 35.92 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.8645, allocations: 428.7 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.22e-05/0.8645, allocations: 45.17 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.8646, allocations: 128 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.8646, allocations: 38.56 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.8646, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.8648, allocations: 53.5 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.8648, allocations: 81.11 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.865, allocations: 159.3 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.865, allocations: 25.7 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.865, allocations: 112.2 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.8651, allocations: 15.84 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.8651, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8652, allocations: 318.8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.8652, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.8652, allocations: 21.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.8653, allocations: 8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8653, allocations: 3.938 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.326e-05/0.8654, allocations: 61.55 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8654, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8654, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.8654, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.8655, allocations: 19.94 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.8655, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.8655, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.8655, allocations: 96 / 1.024 GB, free: 13.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.8657, allocations: 121.8 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.8657, allocations: 11.89 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.8657, allocations: 7.875 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8657, allocations: 4 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8657, allocations: 7.938 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8658, allocations: 0 / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.8661, allocations: 470.7 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8661, allocations: 64 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.8661, allocations: 11.94 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8662, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.8662, allocations: 3.953 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.8662, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8662, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.169e-05/0.8663, allocations: 91.61 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.8663, allocations: 92.91 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8664, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.8664, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.8664, allocations: 3.984 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.8664, allocations: 4 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.788e-05/0.8665, allocations: 120.9 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8665, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001792/0.8667, allocations: 7.938 kB / 1.025 GB, free: 12.86 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 (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.0001332/0.8668, allocations: 103.3 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.582e-05/0.8669, allocations: 12 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.8669, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.8669, allocations: 7.938 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.8671, allocations: 9.891 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.8674, allocations: 182.8 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.8677, allocations: 0.6965 MB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.8677, allocations: 8.438 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.8677, allocations: 11.44 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8678, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002318/0.8701, allocations: 407.9 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches