Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 443.5 MB / 0.731 GB, free: 13.93 MB / 0.5762 GB [Timeout remaining time 87] 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.91 kB / 1.06 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 160.7 MB / 1.217 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00196/0.317, allocations: 0.8346 MB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.3171, allocations: 35.86 kB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.3172, allocations: 0 / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.3172, allocations: 11.86 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.3173, allocations: 15.86 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.341e-05/0.3174, allocations: 15.98 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3175, allocations: 63.83 kB / 1.218 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3176, allocations: 35.97 kB / 1.218 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.3177, allocations: 35.8 kB / 1.218 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.3177, allocations: 27.8 kB / 1.218 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3178, allocations: 8 kB / 1.218 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.3178, allocations: 4 kB / 1.218 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.3178, allocations: 19.92 kB / 1.218 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3178, allocations: 27.81 kB / 1.218 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.318, allocations: 79.52 kB / 1.218 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.318, allocations: 7.922 kB / 1.218 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.318, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.318, allocations: 0 / 1.218 GB, free: 14.27 MB / 0.9669 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.000562/0.3185, allocations: 383.1 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3186, allocations: 8.031 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.3186, allocations: 16.84 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.3189, allocations: 188.2 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.3189, allocations: 8.375 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3189, allocations: 8.375 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3191, allocations: 91.89 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3191, allocations: 192 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3191, allocations: 11.94 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3191, allocations: 0 / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.3192, allocations: 43.86 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.3198, allocations: 436.7 kB / 1.219 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.552e-05/0.3199, allocations: 41.19 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.3199, allocations: 21.84 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.3199, allocations: 0 / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.32, allocations: 30.56 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/0.32, allocations: 3.984 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.3201, allocations: 57.7 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.3202, allocations: 89.17 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3204, allocations: 156.1 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3204, allocations: 25.7 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.3204, allocations: 100.1 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.3205, allocations: 11.88 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3205, allocations: 17.72 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3206, allocations: 318.8 kB / 1.22 GB, free: 12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.3207, allocations: 8 kB / 1.22 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.3207, allocations: 21.72 kB / 1.22 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.3208, allocations: 25.66 kB / 1.22 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3208, allocations: 0 / 1.22 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.22e-05/0.3208, allocations: 65.53 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3209, allocations: 8 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3209, allocations: 8 kB / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3209, allocations: 0 / 1.22 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.3209, allocations: 4 kB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.321, allocations: 4 kB / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.321, allocations: 0 / 1.22 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.321, allocations: 4 kB / 1.22 GB, free: 11.84 MB / 0.9669 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.175e-05/0.3211, allocations: 117.8 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3211, allocations: 7.953 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.3211, allocations: 11.81 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3211, allocations: 4 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3212, allocations: 4 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3212, allocations: 0 / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.3216, allocations: 474.7 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3216, allocations: 0 / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.3216, allocations: 15.92 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3216, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3216, allocations: 64 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3216, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3216, allocations: 3.938 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.3217, allocations: 77.89 kB / 1.221 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.3218, allocations: 89.05 kB / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3218, allocations: 4 kB / 1.221 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.3218, allocations: 0 / 1.221 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.3218, allocations: 4.031 kB / 1.221 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.3218, allocations: 0 / 1.221 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3219, allocations: 120.7 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3219, allocations: 0 / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001915/0.3221, allocations: 15.94 kB / 1.221 GB, free: 10.79 MB / 0.9669 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.0001259/0.3223, allocations: 95.25 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.735e-05/0.3224, allocations: 27.92 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3224, allocations: 4.125 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.3224, allocations: 4 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3225, allocations: 13.66 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.3229, allocations: 196.2 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3232, allocations: 0.6891 MB / 1.222 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3232, allocations: 15.44 kB / 1.222 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3232, allocations: 0 / 1.222 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of Templates: time 0.002465/0.3257, allocations: 0.8723 MB / 1.223 GB, free: 8.801 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches