Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001776/0.001776, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00231/0.00231, allocations: 192.3 kB / 22.17 MB, free: 5.656 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.518/1.518, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 66.53 kB / 1.109 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3935, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002112/0.3956, allocations: 0.8361 MB / 1.275 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.3957, allocations: 43.78 kB / 1.275 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.3958, allocations: 0 / 1.275 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.421e-05/0.3958, allocations: 11.86 kB / 1.275 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.3959, allocations: 7.938 kB / 1.275 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.527e-05/0.396, allocations: 15.98 kB / 1.275 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3961, allocations: 67.78 kB / 1.275 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3962, allocations: 39.86 kB / 1.275 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.3963, allocations: 27.88 kB / 1.275 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.3963, allocations: 27.84 kB / 1.275 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3964, allocations: 4 kB / 1.275 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.3964, allocations: 8 kB / 1.275 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.3964, allocations: 15.92 kB / 1.275 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.3964, allocations: 35.73 kB / 1.275 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3966, allocations: 75.59 kB / 1.275 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3966, allocations: 0 / 1.275 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3966, allocations: 0 / 1.275 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3966, allocations: 0 / 1.275 GB, free: 10.04 MB / 0.9825 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.0004581/0.397, allocations: 387.1 kB / 1.276 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3971, allocations: 8.031 kB / 1.276 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3971, allocations: 12.84 kB / 1.276 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3973, allocations: 200.2 kB / 1.276 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3973, allocations: 12.36 kB / 1.276 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3974, allocations: 8.375 kB / 1.276 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3975, allocations: 83.95 kB / 1.276 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3975, allocations: 4.188 kB / 1.276 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3975, allocations: 7.938 kB / 1.276 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3975, allocations: 4 kB / 1.276 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.3976, allocations: 39.86 kB / 1.276 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.3982, allocations: 432.7 kB / 1.276 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.427e-05/0.3983, allocations: 45.33 kB / 1.276 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.3983, allocations: 17.78 kB / 1.276 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.3983, allocations: 0 / 1.276 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3984, allocations: 34.56 kB / 1.276 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3984, allocations: 0 / 1.276 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.3985, allocations: 57.53 kB / 1.277 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3986, allocations: 85.03 kB / 1.277 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3988, allocations: 156.3 kB / 1.277 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3988, allocations: 25.7 kB / 1.277 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.3989, allocations: 104.1 kB / 1.277 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.3989, allocations: 11.89 kB / 1.277 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3989, allocations: 21.66 kB / 1.277 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.399, allocations: 315.1 kB / 1.277 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.3991, allocations: 15.98 kB / 1.277 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.3991, allocations: 13.72 kB / 1.277 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.3991, allocations: 25.72 kB / 1.277 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3991, allocations: 4 kB / 1.277 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.522e-05/0.3992, allocations: 61.58 kB / 1.277 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3992, allocations: 10.25 kB / 1.277 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3992, allocations: 3.938 kB / 1.277 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3992, allocations: 7.938 kB / 1.277 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.3993, allocations: 4 kB / 1.277 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3993, allocations: 0 / 1.277 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.3993, allocations: 8 kB / 1.277 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.3993, allocations: 0 / 1.277 GB, free: 7.598 MB / 0.9825 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.165e-05/0.3994, allocations: 118.3 kB / 1.277 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3995, allocations: 7.953 kB / 1.277 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.3995, allocations: 19.8 kB / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3995, allocations: 0 / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3995, allocations: 0 / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3995, allocations: 0 / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3999, allocations: 474.7 kB / 1.278 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3999, allocations: 0 / 1.278 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.3999, allocations: 4 kB / 1.278 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3999, allocations: 0 / 1.278 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4, allocations: 8.062 kB / 1.278 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4, allocations: 3.984 kB / 1.278 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4, allocations: 0 / 1.278 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.675e-05/0.4, allocations: 73.89 kB / 1.278 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.4001, allocations: 96.98 kB / 1.278 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4001, allocations: 0 / 1.278 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.4001, allocations: 7.969 kB / 1.278 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.4002, allocations: 4 kB / 1.278 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.4002, allocations: 0 / 1.278 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.546e-05/0.4003, allocations: 121.9 kB / 1.278 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4003, allocations: 0 / 1.278 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001873/0.4004, allocations: 15.94 kB / 1.278 GB, free: 6.555 MB / 0.9825 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.0001195/0.4006, allocations: 95.25 kB / 1.278 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.4006, allocations: 19.98 kB / 1.278 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4006, allocations: 4 kB / 1.278 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.4007, allocations: 7.938 kB / 1.278 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4008, allocations: 7.938 kB / 1.278 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.4011, allocations: 178 kB / 1.279 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4014, allocations: 0.7043 MB / 1.279 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.4015, allocations: 8.516 kB / 1.279 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.4015, allocations: 11.44 kB / 1.279 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4015, allocations: 3.938 kB / 1.279 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of Templates: time 0.002919/0.4044, allocations: 469.6 kB / 1.28 GB, free: 4.992 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.062328117899597]