Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 219.8 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.243/3.243, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 68 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.38, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002047/0.3821, allocations: 0.8335 MB / 1.355 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.3822, allocations: 43.78 kB / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.3822, allocations: 0 / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.3823, allocations: 7.875 kB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.3823, allocations: 11.88 kB / 1.355 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.346e-05/0.3824, allocations: 23.97 kB / 1.355 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3825, allocations: 59.84 kB / 1.355 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3826, allocations: 35.97 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.3827, allocations: 23.86 kB / 1.355 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.3827, allocations: 27.8 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3828, allocations: 8 kB / 1.355 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.3828, allocations: 4 kB / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3828, allocations: 19.92 kB / 1.355 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.3828, allocations: 35.75 kB / 1.355 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.383, allocations: 83.5 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.383, allocations: 4 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.383, allocations: 0 / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.383, allocations: 0 / 1.355 GB, free: 6.766 MB / 1.045 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.0004147/0.3834, allocations: 305.9 kB / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3834, allocations: 12.03 kB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.3835, allocations: 12.84 kB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3836, allocations: 126.4 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3836, allocations: 8.375 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3837, allocations: 8.375 kB / 1.356 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3838, allocations: 105.8 kB / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3838, allocations: 192 / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3838, allocations: 3.938 kB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3839, allocations: 4 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.3839, allocations: 31.98 kB / 1.356 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.3845, allocations: 407.8 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.3845, allocations: 41.14 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.3846, allocations: 17.84 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.3846, allocations: 8.031 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3846, allocations: 34.56 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3846, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.3848, allocations: 57.52 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3848, allocations: 77.11 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.385, allocations: 160.9 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.385, allocations: 29.7 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.3851, allocations: 100 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.3851, allocations: 16.19 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3851, allocations: 13.72 kB / 1.357 GB, free: 5.023 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3853, allocations: 314.8 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.3853, allocations: 11.98 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.3854, allocations: 13.72 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.3854, allocations: 37.59 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3854, allocations: 4 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.63e-05/0.3855, allocations: 57.59 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3855, allocations: 4 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3855, allocations: 7.938 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3855, allocations: 0 / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.3856, allocations: 7.938 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3856, allocations: 0 / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.3856, allocations: 4 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.3856, allocations: 3.938 kB / 1.357 GB, free: 4.539 MB / 1.045 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.393e-05/0.3857, allocations: 125.8 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.3858, allocations: 7.953 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.3858, allocations: 15.75 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3858, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3858, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3858, allocations: 4 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.3862, allocations: 453.7 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3863, allocations: 4 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.3863, allocations: 0 / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3863, allocations: 4 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3863, allocations: 3.984 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3863, allocations: 0 / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3863, allocations: 0 / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.956e-05/0.3864, allocations: 81.89 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.3864, allocations: 15.94 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3864, allocations: 4 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.994e-05/0.3864, allocations: 0 / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.3865, allocations: 4.078 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3865, allocations: 0 / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.591e-05/0.3866, allocations: 120.5 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3866, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001887/0.3867, allocations: 8 kB / 1.358 GB, free: 3.613 MB / 1.045 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.0001164/0.3869, allocations: 99.28 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.387, allocations: 23.92 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.387, allocations: 0 / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.387, allocations: 4 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.3871, allocations: 15.88 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3875, allocations: 182.5 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3878, allocations: 0.7001 MB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.3878, allocations: 11.44 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3878, allocations: 0 / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of Templates: time 0.002339/0.3902, allocations: 0.873 MB / 1.36 GB, free: 1.633 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.259003891987959]