Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001414/0.001414, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001675/0.001675, allocations: 190.4 kB / 22.23 MB, free: 5.133 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.12 kB / 1.062 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 160.8 MB / 1.219 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002637/1.019, allocations: 0.8642 MB / 1.219 GB, free: 2.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00136/1.02, allocations: 0.8862 MB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/1.02, allocations: 1.344 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.191e-05/1.021, allocations: 11.86 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/1.021, allocations: 22.36 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/1.021, allocations: 38.39 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/1.021, allocations: 120.5 kB / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/1.021, allocations: 19.67 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/1.021, allocations: 52.27 kB / 1.22 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/1.021, allocations: 54.33 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/1.022, allocations: 9.375 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/1.022, allocations: 9.125 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/1.022, allocations: 23.58 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/1.022, allocations: 50.72 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/1.022, allocations: 129.2 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.022, allocations: 0 / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/1.022, allocations: 0 / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.022, allocations: 1.156 kB / 1.221 GB, free: 1.859 MB / 0.92 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.0008731/1.023, allocations: 447.9 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.023, allocations: 9.219 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/1.023, allocations: 15.88 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/1.024, allocations: 257.6 kB / 1.221 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/1.024, allocations: 4.562 kB / 1.221 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/1.024, allocations: 13.59 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/1.024, allocations: 113.5 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.024, allocations: 5 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.024, allocations: 0 / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/1.024, allocations: 2.469 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/1.024, allocations: 77.45 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/1.025, allocations: 0.4922 MB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/1.025, allocations: 110 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/1.025, allocations: 55.17 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/1.025, allocations: 2.406 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.026, allocations: 39.55 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/1.026, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0006226/1.026, allocations: 152.6 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/1.026, allocations: 107.8 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.026, allocations: 161.4 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/1.026, allocations: 31.92 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/1.027, allocations: 109.1 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/1.027, allocations: 27.44 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/1.027, allocations: 22.59 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.027, allocations: 333.2 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/1.027, allocations: 42.64 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/1.027, allocations: 81.64 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.027, allocations: 97.52 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.027, allocations: 4 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003798/1.028, allocations: 143.3 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.028, allocations: 5.25 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.028, allocations: 0.8438 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.028, allocations: 1.812 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.028, allocations: 20.75 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.028, allocations: 2.062 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/1.028, allocations: 21.3 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/1.028, allocations: 3.25 kB / 1.224 GB, free: 15.19 MB / 0.9356 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.0001317/1.028, allocations: 129.3 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/1.028, allocations: 17.64 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/1.029, allocations: 84.73 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.029, allocations: 5.562 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.029, allocations: 1.125 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/1.029, allocations: 1.094 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/1.029, allocations: 200.8 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.029, allocations: 0.75 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/1.029, allocations: 20.73 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/1.029, allocations: 5.828 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.029, allocations: 1.094 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.029, allocations: 1.156 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.029, allocations: 0.9688 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/1.03, allocations: 371.5 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/1.03, allocations: 97.28 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/1.03, allocations: 10.12 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/1.03, allocations: 15.8 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/1.03, allocations: 27.05 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/1.03, allocations: 7.469 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.65e-05/1.03, allocations: 113.9 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/1.03, allocations: 1.375 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003426/1.031, allocations: 17.19 kB / 1.225 GB, free: 14.16 MB / 0.9356 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.0001631/1.031, allocations: 112.1 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004375/1.031, allocations: 95.39 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.031, allocations: 0 / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/1.031, allocations: 48.38 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/1.032, allocations: 13.66 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/1.032, allocations: 208.1 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/1.033, allocations: 0.6998 MB / 1.226 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.72e-05/1.033, allocations: 20.67 kB / 1.226 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/1.033, allocations: 23.19 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/1.033, allocations: 1.062 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.004902/1.038, allocations: 1.398 MB / 1.227 GB, free: 12.36 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.193974957801402]