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.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.001504/0.001504, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001801/0.001801, allocations: 167.7 kB / 22.46 MB, free: 5.359 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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.096/3.096, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.917e-06/3.917e-06, allocations: 0 / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.767e-05/4.159e-05, allocations: 6.281 kB / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002553/0.002594, allocations: 0.8253 MB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.004225, allocations: 0.9132 MB / 1.002 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.946e-05/0.004324, allocations: 8 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.004375, allocations: 11.86 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.004512, allocations: 15.81 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.004864, allocations: 43.88 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.005095, allocations: 119.6 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.005245, allocations: 21.23 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.005567, allocations: 75.81 kB / 1.002 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.00569, allocations: 51.86 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.005726, allocations: 8 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.005792, allocations: 12 kB / 1.002 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.005831, allocations: 27.91 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.005891, allocations: 27.92 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.006152, allocations: 131.5 kB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006155, allocations: 0 / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006156, allocations: 4 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.006162, allocations: 0 / 1.002 GB, free: 4.941 MB / 0.9512 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.0008882/0.00705, allocations: 373.7 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.007094, allocations: 8.031 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.007449, allocations: 32.86 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.008008, allocations: 193.6 kB / 1.003 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.008045, allocations: 8.375 kB / 1.003 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.008069, allocations: 8.375 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.008422, allocations: 116.8 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.008437, allocations: 192 / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.008454, allocations: 4.375 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.008465, allocations: 8.125 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.008774, allocations: 79.78 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.009494, allocations: 432.8 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.0098, allocations: 107.8 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.009972, allocations: 54.53 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.01001, allocations: 4 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.01004, allocations: 38.56 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.01005, allocations: 7.938 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0006841/0.01073, allocations: 161.4 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.01082, allocations: 106.8 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.01099, allocations: 145 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.01103, allocations: 37.94 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.01112, allocations: 104.4 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.01117, allocations: 31.73 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.01124, allocations: 29.7 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.01142, allocations: 322.8 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.01159, allocations: 39.97 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.01185, allocations: 162.2 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.01218, allocations: 94.45 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01218, allocations: 0 / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004175/0.0126, allocations: 141.4 kB / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.01262, allocations: 8 kB / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01263, allocations: 4.062 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.01265, allocations: 0 / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.0128, allocations: 19.98 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.01281, allocations: 7.938 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.01296, allocations: 23.86 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.01298, allocations: 8 kB / 1.005 GB, free: 1.805 MB / 0.9512 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.0001721/0.01315, allocations: 119.9 kB / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.01323, allocations: 11.89 kB / 1.005 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.01353, allocations: 94.31 kB / 1.005 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.01353, allocations: 4.031 kB / 1.005 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.01354, allocations: 0 / 1.005 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.01354, allocations: 4 kB / 1.005 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.01383, allocations: 129.3 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01383, allocations: 3.938 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01394, allocations: 23.91 kB / 1.006 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.01395, allocations: 7.938 kB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01396, allocations: 0 / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01397, allocations: 4 kB / 1.006 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01397, allocations: 4 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.01449, allocations: 377.9 kB / 1.006 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.01451, allocations: 11.89 kB / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.01454, allocations: 3.938 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.01476, allocations: 15.98 kB / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.01486, allocations: 23.95 kB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01487, allocations: 11.98 kB / 1.006 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.01496, allocations: 106.3 kB / 1.006 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01496, allocations: 0 / 1.006 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003424/0.01531, allocations: 23.94 kB / 1.006 GB, free: 0.7812 MB / 0.9512 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.0001752/0.01548, allocations: 99.23 kB / 1.006 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.0159, allocations: 99.86 kB / 1.006 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0159, allocations: 0 / 1.006 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.0161, allocations: 47.91 kB / 1.006 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.0166, allocations: 15.92 kB / 1.006 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.01714, allocations: 203.4 kB / 1.007 GB, free: 288 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01724, allocations: 88.44 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.057e-05/0.01732, allocations: 16.64 kB / 1.007 GB, free: 164 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.01739, allocations: 20.5 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.01739, allocations: 3.938 kB / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of Templates: time 0.005306/0.0227, allocations: 1.409 MB / 1.008 GB, free: 14.74 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 800] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.760149843990803]