Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001516/0.001516, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001664/0.001664, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.941/2.941, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8109 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.594e-05, allocations: 6.25 kB / 0.8109 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002066/0.002102, allocations: 0.8199 MB / 0.8117 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.003591, allocations: 0.9182 MB / 0.8126 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.003645, allocations: 0.9688 kB / 0.8126 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.003685, allocations: 7.875 kB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003803, allocations: 25.14 kB / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.004058, allocations: 47.88 kB / 0.8127 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.004235, allocations: 116.6 kB / 0.8128 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.004349, allocations: 17.31 kB / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.004598, allocations: 80.86 kB / 0.8129 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.004694, allocations: 43.88 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.004721, allocations: 8 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.004773, allocations: 13.25 kB / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.00481, allocations: 27.91 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.004866, allocations: 31.91 kB / 0.813 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005089, allocations: 133.7 kB / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005092, allocations: 0 / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005093, allocations: 0 / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.005097, allocations: 0 / 0.8131 GB, free: 14.64 MB / 0.7292 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.0008018/0.005899, allocations: 375.1 kB / 0.8135 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.005938, allocations: 8.031 kB / 0.8135 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.006239, allocations: 41.47 kB / 0.8135 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.006774, allocations: 194.3 kB / 0.8137 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.006801, allocations: 12.31 kB / 0.8137 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.006821, allocations: 8.375 kB / 0.8137 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.007131, allocations: 116.8 kB / 0.8138 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.00714, allocations: 192 / 0.8138 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.007157, allocations: 5.219 kB / 0.8138 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.007164, allocations: 8.125 kB / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.007479, allocations: 73.17 kB / 0.8139 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.008166, allocations: 433.9 kB / 0.8143 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.008465, allocations: 113.3 kB / 0.8144 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.008639, allocations: 56.47 kB / 0.8145 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.008664, allocations: 0 / 0.8145 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.008705, allocations: 38.56 kB / 0.8145 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.008706, allocations: 0 / 0.8145 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.00065/0.009356, allocations: 164 kB / 0.8147 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.009445, allocations: 111.3 kB / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.009598, allocations: 146.1 kB / 0.8149 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.009632, allocations: 29.7 kB / 0.815 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.009726, allocations: 109.2 kB / 0.8151 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.009767, allocations: 23.84 kB / 0.8151 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.009831, allocations: 30.48 kB / 0.8151 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.01004, allocations: 322.8 kB / 0.8154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.01021, allocations: 37.88 kB / 0.8155 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.01046, allocations: 162.2 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.01076, allocations: 92.52 kB / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01076, allocations: 0 / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004188/0.01118, allocations: 155.8 kB / 0.8158 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01119, allocations: 4 kB / 0.8158 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.0112, allocations: 3.984 kB / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.01122, allocations: 4.75 kB / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01137, allocations: 27.86 kB / 0.8159 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01137, allocations: 0.875 kB / 0.8159 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01151, allocations: 21.48 kB / 0.8159 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01152, allocations: 3.984 kB / 0.8159 GB, free: 11.52 MB / 0.7292 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.0001236/0.01165, allocations: 121.8 kB / 0.816 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.01172, allocations: 20.94 kB / 0.816 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.01201, allocations: 97.17 kB / 0.8161 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01201, allocations: 0 / 0.8161 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01202, allocations: 0 / 0.8161 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01203, allocations: 4 kB / 0.8161 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.01233, allocations: 133.4 kB / 0.8163 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01233, allocations: 0 / 0.8163 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01244, allocations: 19.97 kB / 0.8163 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.01245, allocations: 7.938 kB / 0.8163 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01246, allocations: 0.5 kB / 0.8163 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01246, allocations: 1.031 kB / 0.8163 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.01247, allocations: 4 kB / 0.8163 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.01299, allocations: 380.2 kB / 0.8167 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.01301, allocations: 11.89 kB / 0.8167 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.01305, allocations: 4 kB / 0.8167 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.01326, allocations: 13.08 kB / 0.8167 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.01335, allocations: 23.95 kB / 0.8167 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01336, allocations: 7.984 kB / 0.8167 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.579e-05/0.01346, allocations: 107.9 kB / 0.8168 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01346, allocations: 2.375 kB / 0.8168 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000329/0.01379, allocations: 19.94 kB / 0.8168 GB, free: 10.5 MB / 0.7292 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.0001587/0.01395, allocations: 107.2 kB / 0.8169 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.01436, allocations: 94.95 kB / 0.817 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01436, allocations: 0 / 0.817 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.01454, allocations: 51.91 kB / 0.8171 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.01503, allocations: 19.83 kB / 0.8171 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.01556, allocations: 220.5 kB / 0.8173 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.01568, allocations: 90.55 kB / 0.8174 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.425e-05/0.01577, allocations: 16.39 kB / 0.8174 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.01583, allocations: 27.64 kB / 0.8174 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.01583, allocations: 3.938 kB / 0.8174 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of Templates: time 0.004912/0.02075, allocations: 1.434 MB / 0.8188 GB, free: 8.438 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.033814050024375]