Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 98.98 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 193.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 489.7 MB / 0.7761 GB, free: 33.67 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=528,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=528,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 70.97 kB / 1.127 GB, free: 36.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3662, allocations: 172.1 MB / 1.295 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002109/0.3683, allocations: 0.8684 MB / 1.296 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3695, allocations: 0.8856 MB / 1.297 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.3695, allocations: 0 / 1.297 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.3696, allocations: 7.875 kB / 1.297 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.3697, allocations: 23.8 kB / 1.297 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.3698, allocations: 35.94 kB / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.37, allocations: 115.6 kB / 1.297 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3701, allocations: 17.12 kB / 1.297 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3703, allocations: 55.83 kB / 1.297 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.3704, allocations: 55.75 kB / 1.297 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.3704, allocations: 8 kB / 1.297 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.3704, allocations: 8 kB / 1.297 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.3705, allocations: 27.91 kB / 1.297 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.3705, allocations: 55.72 kB / 1.297 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3707, allocations: 123.4 kB / 1.297 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3707, allocations: 0 / 1.297 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3707, allocations: 0 / 1.297 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.3707, allocations: 0 / 1.297 GB, free: 9.559 MB / 0.9981 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.0007199/0.3714, allocations: 442.8 kB / 1.298 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3715, allocations: 12.03 kB / 1.298 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3715, allocations: 12.89 kB / 1.298 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.372, allocations: 256.2 kB / 1.298 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3721, allocations: 8.375 kB / 1.298 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3721, allocations: 4.375 kB / 1.298 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.3724, allocations: 120.7 kB / 1.298 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3724, allocations: 3.938 kB / 1.298 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3724, allocations: 8 kB / 1.298 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3724, allocations: 3.938 kB / 1.298 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.3727, allocations: 75.86 kB / 1.298 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.3733, allocations: 0.4971 MB / 1.299 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3736, allocations: 111.8 kB / 1.299 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3738, allocations: 54.55 kB / 1.299 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3738, allocations: 0 / 1.299 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3738, allocations: 38.56 kB / 1.299 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.3738, allocations: 0 / 1.299 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005768/0.3744, allocations: 157.5 kB / 1.299 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.3745, allocations: 110.8 kB / 1.299 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3746, allocations: 148.1 kB / 1.299 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3746, allocations: 33.7 kB / 1.299 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.3747, allocations: 104.3 kB / 1.299 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3747, allocations: 23.8 kB / 1.299 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.3748, allocations: 29.7 kB / 1.299 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3749, allocations: 326.8 kB / 1.3 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3751, allocations: 43.91 kB / 1.3 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3753, allocations: 85.11 kB / 1.3 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.3755, allocations: 94.67 kB / 1.3 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3755, allocations: 4 kB / 1.3 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003472/0.3759, allocations: 141.5 kB / 1.3 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3759, allocations: 4 kB / 1.3 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3759, allocations: 0 / 1.3 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3759, allocations: 4 kB / 1.3 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.376, allocations: 15.98 kB / 1.3 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3761, allocations: 7.984 kB / 1.3 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.3762, allocations: 27.92 kB / 1.3 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3762, allocations: 0 / 1.3 GB, free: 6.293 MB / 0.9981 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.0001093/0.3763, allocations: 129.7 kB / 1.3 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.3764, allocations: 7.953 kB / 1.3 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.3766, allocations: 93.89 kB / 1.3 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3766, allocations: 4 kB / 1.3 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3766, allocations: 0 / 1.3 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3766, allocations: 0 / 1.3 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.377, allocations: 205.5 kB / 1.3 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.377, allocations: 0 / 1.3 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3771, allocations: 19.92 kB / 1.3 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3771, allocations: 4 kB / 1.3 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3771, allocations: 0 / 1.3 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3771, allocations: 3.984 kB / 1.3 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3771, allocations: 4 kB / 1.3 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.3775, allocations: 374 kB / 1.301 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.3776, allocations: 89 kB / 1.301 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3776, allocations: 4 kB / 1.301 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3778, allocations: 19.91 kB / 1.301 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.3779, allocations: 23.97 kB / 1.301 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3779, allocations: 8.062 kB / 1.301 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.378, allocations: 121.6 kB / 1.301 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.378, allocations: 0 / 1.301 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003213/0.3783, allocations: 19.95 kB / 1.301 GB, free: 5.082 MB / 0.9981 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.0001626/0.3785, allocations: 111.8 kB / 1.301 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.3788, allocations: 95.86 kB / 1.301 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3788, allocations: 0 / 1.301 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.379, allocations: 48.23 kB / 1.301 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.3795, allocations: 16.12 kB / 1.301 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.38, allocations: 244.9 kB / 1.302 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3803, allocations: 0.7002 MB / 1.302 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.3804, allocations: 19.44 kB / 1.302 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3804, allocations: 4 kB / 1.302 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of Templates: time 0.003431/0.3838, allocations: 1.507 MB / 1.304 GB, free: 2.266 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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