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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 443.5 MB / 0.7293 GB, free: 14.61 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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.00199/0.00199, allocations: 63.91 kB / 1.057 GB, free: 2.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00224/0.3201, allocations: 0.8293 MB / 1.215 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.3203, allocations: 43.72 kB / 1.215 GB, free: 120 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.3203, allocations: 0 / 1.215 GB, free: 120 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.3203, allocations: 7.875 kB / 1.215 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.3204, allocations: 19.8 kB / 1.215 GB, free: 92 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.26e-05/0.3205, allocations: 15.98 kB / 1.215 GB, free: 76 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3206, allocations: 59.91 kB / 1.215 GB, free: 16 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3208, allocations: 43.98 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/0.3209, allocations: 23.86 kB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.3209, allocations: 27.8 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3209, allocations: 8 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.3209, allocations: 4 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.321, allocations: 23.83 kB / 1.215 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.321, allocations: 31.8 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.3211, allocations: 79.53 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3211, allocations: 0 / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3211, allocations: 4 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3212, allocations: 0 / 1.215 GB, free: 15.77 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.0005059/0.3217, allocations: 383.1 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3217, allocations: 8.031 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3217, allocations: 16.84 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.322, allocations: 196.2 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.322, allocations: 8.375 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.322, allocations: 4.375 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3222, allocations: 95.89 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3222, allocations: 192 / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.3222, allocations: 11.92 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3222, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.3223, allocations: 39.92 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.3229, allocations: 432.8 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.323, allocations: 41.19 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.323, allocations: 13.84 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.323, allocations: 8 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.3231, allocations: 38.55 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3231, allocations: 0 / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.3232, allocations: 53.53 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.3233, allocations: 81.11 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3235, allocations: 157.1 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3235, allocations: 29.7 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.3236, allocations: 100.1 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3236, allocations: 7.891 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3236, allocations: 25.92 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3238, allocations: 318.8 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.3238, allocations: 7.938 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.3238, allocations: 25.69 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.3239, allocations: 29.66 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3239, allocations: 0 / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.521e-05/0.324, allocations: 61.59 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.324, allocations: 5.562 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.324, allocations: 7.938 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.324, allocations: 0 / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.3241, allocations: 7.984 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3241, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.3241, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3241, allocations: 0 / 1.217 GB, free: 13.34 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 0.0001016/0.3242, allocations: 121.8 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.3242, allocations: 7.953 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.3243, allocations: 19.8 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3243, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3243, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3243, allocations: 4 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.3247, allocations: 470.7 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3247, allocations: 8.062 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.3248, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3248, allocations: 4 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3248, allocations: 4 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3248, allocations: 0 / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3248, allocations: 4 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.3249, allocations: 81.81 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.325, allocations: 89.09 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.325, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.325, allocations: 11.98 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.325, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.325, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.635e-05/0.3251, allocations: 121.1 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3251, allocations: 0 / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000199/0.3253, allocations: 11.94 kB / 1.218 GB, free: 12.29 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.0001303/0.3254, allocations: 99.25 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.3255, allocations: 23.94 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3255, allocations: 0 / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.3255, allocations: 8 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.3257, allocations: 11.92 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.326, allocations: 188.2 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3264, allocations: 0.697 MB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3264, allocations: 15.38 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3264, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.00254/0.3289, allocations: 0.8607 MB / 1.22 GB, free: 10.31 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_2/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 [Calling sys.exit(0), Time elapsed: 10.410083221970126]