Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001128/0.001128, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009112/0.009112, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.614/1.614, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.164/3.164, allocations: 470.6 MB / 0.7441 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 14.41 kB / 0.9123 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001265/0.3724, allocations: 0.5472 MB / 1.07 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.3725, allocations: 39.78 kB / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.3726, allocations: 3.938 kB / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.3726, allocations: 3.938 kB / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.3727, allocations: 0 / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.521e-05/0.3727, allocations: 15.98 kB / 1.07 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3729, allocations: 63.78 kB / 1.071 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.373, allocations: 39.97 kB / 1.071 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.3731, allocations: 15.86 kB / 1.071 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.3731, allocations: 19.86 kB / 1.071 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3732, allocations: 4 kB / 1.071 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.3732, allocations: 4 kB / 1.071 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.3732, allocations: 11.94 kB / 1.071 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.3733, allocations: 57.38 kB / 1.071 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3734, allocations: 64.03 kB / 1.071 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3734, allocations: 0 / 1.071 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3734, allocations: 0 / 1.071 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3734, allocations: 0 / 1.071 GB, free: 10.54 MB / 0.8262 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.0004751/0.3739, allocations: 363.3 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3739, allocations: 11.97 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.374, allocations: 16.83 kB / 1.071 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.3742, allocations: 192.2 kB / 1.071 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3742, allocations: 4.375 kB / 1.071 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3743, allocations: 8.375 kB / 1.071 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3744, allocations: 87.89 kB / 1.071 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3745, allocations: 192 / 1.071 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3745, allocations: 15.88 kB / 1.071 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3745, allocations: 0 / 1.071 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.3746, allocations: 47.91 kB / 1.071 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.3753, allocations: 432.6 kB / 1.072 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.3753, allocations: 37.31 kB / 1.072 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.3754, allocations: 29.7 kB / 1.072 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.3754, allocations: 0 / 1.072 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.3755, allocations: 30.56 kB / 1.072 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3755, allocations: 0 / 1.072 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001941/0.3757, allocations: 61.47 kB / 1.072 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3758, allocations: 85.36 kB / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.376, allocations: 159.7 kB / 1.072 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.376, allocations: 25.7 kB / 1.072 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.3761, allocations: 111.9 kB / 1.072 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.3761, allocations: 7.891 kB / 1.072 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.3762, allocations: 17.66 kB / 1.072 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3763, allocations: 318.8 kB / 1.073 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.3763, allocations: 8 kB / 1.073 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.3764, allocations: 17.72 kB / 1.073 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.3764, allocations: 33.66 kB / 1.073 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3764, allocations: 3.984 kB / 1.073 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.632e-05/0.3765, allocations: 53.55 kB / 1.073 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3766, allocations: 5.406 kB / 1.073 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3766, allocations: 3.938 kB / 1.073 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3766, allocations: 4 kB / 1.073 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3767, allocations: 12.06 kB / 1.073 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3767, allocations: 3.984 kB / 1.073 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.3767, allocations: 7.938 kB / 1.073 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3767, allocations: 4 kB / 1.073 GB, free: 8.102 MB / 0.8262 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 9.485e-05/0.3768, allocations: 109.8 kB / 1.073 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.3769, allocations: 11.91 kB / 1.073 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.3769, allocations: 11.81 kB / 1.073 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3769, allocations: 0 / 1.073 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3769, allocations: 0 / 1.073 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3769, allocations: 7.984 kB / 1.073 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.3774, allocations: 478.6 kB / 1.073 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3774, allocations: 0 / 1.073 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.3774, allocations: 4 kB / 1.073 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3774, allocations: 0 / 1.073 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3774, allocations: 4 kB / 1.073 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3774, allocations: 0 / 1.073 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3775, allocations: 8 kB / 1.073 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.507e-05/0.3776, allocations: 77.83 kB / 1.074 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.3776, allocations: 89.02 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.3777, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.3777, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.3777, allocations: 7.984 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3777, allocations: 4.031 kB / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.452e-05/0.3778, allocations: 118.1 kB / 1.074 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3778, allocations: 0 / 1.074 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001781/0.378, allocations: 8 kB / 1.074 GB, free: 7.07 MB / 0.8262 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.000148/0.3781, allocations: 103.2 kB / 1.074 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.3782, allocations: 15.94 kB / 1.074 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3783, allocations: 0 / 1.074 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.3783, allocations: 12.12 kB / 1.074 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.3784, allocations: 11.94 kB / 1.074 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3788, allocations: 180.5 kB / 1.074 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3792, allocations: 0.6928 MB / 1.075 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3792, allocations: 8.422 kB / 1.075 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.3793, allocations: 11.44 kB / 1.075 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of SimCode: time 3.056e-06/0.3793, allocations: 0 / 1.075 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.002703/0.382, allocations: 440.6 kB / 1.075 GB, free: 5.539 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches