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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001169/0.001169, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009186/0.009186, allocations: 170.1 kB / 16.27 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.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004293, allocations: 8 kB / 0.8728 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7539, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001118/0.7551, allocations: 0.543 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.7553, allocations: 43.78 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.7554, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.7554, allocations: 11.92 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.7555, allocations: 3.938 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.304e-05/0.7556, allocations: 19.98 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.7557, allocations: 51.86 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.7558, allocations: 43.95 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.7559, allocations: 15.88 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.7559, allocations: 19.86 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.756, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.756, allocations: 4 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.756, allocations: 7.875 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.7561, allocations: 57.5 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.433e-05/0.7562, allocations: 65.66 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7562, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7562, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7562, allocations: 0 / 1.024 GB, free: 14.93 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.0004055/0.7566, allocations: 375.2 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7567, allocations: 8.031 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.7567, allocations: 8.844 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.7569, allocations: 192.2 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7569, allocations: 8.312 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.757, allocations: 8.375 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.7571, allocations: 102 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7572, allocations: 4.125 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.7572, allocations: 3.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.7572, allocations: 4 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.7573, allocations: 39.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.7578, allocations: 436.6 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.7579, allocations: 45.19 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.7579, allocations: 25.78 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.758, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.758, allocations: 30.56 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.758, allocations: 4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.7582, allocations: 61.47 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.7582, allocations: 77.11 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.7584, allocations: 164.5 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.7584, allocations: 25.7 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.7585, allocations: 104 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.7585, allocations: 7.906 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.7585, allocations: 9.969 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.7586, allocations: 326.8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.7587, allocations: 4 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.7587, allocations: 21.66 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.7587, allocations: 21.72 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7587, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.022e-05/0.7588, allocations: 69.53 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7589, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7589, allocations: 3.938 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.7589, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.7589, allocations: 8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.759, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.759, allocations: 7.906 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.759, allocations: 0 / 1.026 GB, free: 12.5 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 7.732e-05/0.7591, allocations: 119.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.7591, allocations: 11.97 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.7592, allocations: 15.81 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7592, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7592, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7592, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.7596, allocations: 466.8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7596, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.7597, allocations: 8.047 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.7597, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.7597, allocations: 11.88 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.7597, allocations: 7.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7597, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.744e-05/0.7598, allocations: 73.84 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.7598, allocations: 92.94 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.7599, allocations: 4.031 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.7599, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.7599, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.7599, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.919e-05/0.76, allocations: 120.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.76, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001826/0.7602, allocations: 4 kB / 1.027 GB, free: 11.46 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.0001142/0.7603, allocations: 107.2 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.7604, allocations: 19.98 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7604, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.7604, allocations: 11.94 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.7606, allocations: 7.938 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.7609, allocations: 180.8 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.7613, allocations: 0.6965 MB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.7613, allocations: 4.438 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.7613, allocations: 11.44 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7613, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.002485/0.7638, allocations: 428.6 kB / 1.028 GB, free: 9.93 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/jenkins/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