Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001463/0.001463, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002205/0.002205, allocations: 161.8 kB / 22.45 MB, free: 5.379 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.644/1.644, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.758/2.758, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.263e-05, allocations: 2.281 kB / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002047/0.002079, allocations: 0.8235 MB / 0.9518 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003491, allocations: 0.921 MB / 0.9527 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.003554, allocations: 3.938 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.003593, allocations: 7.875 kB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.003697, allocations: 19.8 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.003945, allocations: 47.88 kB / 0.9528 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.004108, allocations: 123.6 kB / 0.9529 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004221, allocations: 9.312 kB / 0.9529 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.004449, allocations: 79.8 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.00454, allocations: 43.88 kB / 0.9531 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.004567, allocations: 8 kB / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.004618, allocations: 15.94 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.004651, allocations: 27.91 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.004697, allocations: 31.91 kB / 0.9531 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004903, allocations: 135.5 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004906, allocations: 4 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004906, allocations: 0 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.004912, allocations: 0 / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007183/0.00563, allocations: 369.6 kB / 0.9536 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.005667, allocations: 8.031 kB / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.005921, allocations: 32.83 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.006412, allocations: 193.7 kB / 0.9539 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.006437, allocations: 8.375 kB / 0.9539 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.00646, allocations: 8.375 kB / 0.9539 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.00676, allocations: 115 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.00677, allocations: 192 / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.006787, allocations: 12.36 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.006795, allocations: 8.125 kB / 0.954 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.007089, allocations: 67.88 kB / 0.9541 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.007695, allocations: 436.7 kB / 0.9545 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.007975, allocations: 111.8 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.008159, allocations: 59.19 kB / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.008188, allocations: 3.984 kB / 0.9546 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.008223, allocations: 38.56 kB / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.008225, allocations: 0 / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000631/0.008856, allocations: 157.5 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.008922, allocations: 106.8 kB / 0.9549 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.009059, allocations: 150.2 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.00909, allocations: 33.7 kB / 0.9551 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.009165, allocations: 104.3 kB / 0.9552 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.009204, allocations: 31.72 kB / 0.9552 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.009259, allocations: 25.72 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.009403, allocations: 322.8 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.009572, allocations: 48.11 kB / 0.9556 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.009801, allocations: 158.2 kB / 0.9558 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.0101, allocations: 94.67 kB / 0.9559 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0101, allocations: 0 / 0.9559 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003926/0.01049, allocations: 145.5 kB / 0.956 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01051, allocations: 8 kB / 0.956 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01052, allocations: 0 / 0.956 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01053, allocations: 0 / 0.956 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.01068, allocations: 23.97 kB / 0.956 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01069, allocations: 0 / 0.956 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01082, allocations: 15.94 kB / 0.956 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01083, allocations: 11.94 kB / 0.9561 GB, free: 6.023 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001104/0.01094, allocations: 121.8 kB / 0.9562 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.01101, allocations: 15.88 kB / 0.9562 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.01129, allocations: 93.92 kB / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01129, allocations: 0 / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.0113, allocations: 4 kB / 0.9563 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.0113, allocations: 3.938 kB / 0.9563 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.01157, allocations: 137.3 kB / 0.9564 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01157, allocations: 4 kB / 0.9564 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01169, allocations: 23.92 kB / 0.9564 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.01169, allocations: 3.938 kB / 0.9564 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01171, allocations: 3.984 kB / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01171, allocations: 4 kB / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01171, allocations: 0 / 0.9565 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.01219, allocations: 362 kB / 0.9568 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.0122, allocations: 23.78 kB / 0.9568 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.01223, allocations: 7.922 kB / 0.9568 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.01245, allocations: 15.98 kB / 0.9568 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.01254, allocations: 23.95 kB / 0.9569 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.01255, allocations: 4 kB / 0.9569 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.129e-05/0.01263, allocations: 111.2 kB / 0.957 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01263, allocations: 0 / 0.957 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003259/0.01296, allocations: 16 kB / 0.957 GB, free: 5 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001465/0.0131, allocations: 103.2 kB / 0.9571 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.01349, allocations: 96.09 kB / 0.9572 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01349, allocations: 0 / 0.9572 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.01368, allocations: 51.89 kB / 0.9572 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.01416, allocations: 20.06 kB / 0.9573 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.01463, allocations: 206 kB / 0.9574 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.01472, allocations: 84.31 kB / 0.9575 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.616e-05/0.0148, allocations: 20.62 kB / 0.9576 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.01486, allocations: 20.5 kB / 0.9576 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of SimCode: time 4e-07/0.01486, allocations: 0 / 0.9576 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Templates: time 0.004693/0.01955, allocations: 1.416 MB / 0.959 GB, free: 2.957 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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: 8.34870994836092]