Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.0008384/0.0008384, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002048, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001092/0.001092, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002581, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9626/0.9626, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08154/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.325/2.325, allocations: 447.1 MB / 0.675 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2384/2.563, allocations: 146 MB / 0.8176 GB, free: 3.855 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.718e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00174/0.001757, allocations: 0.7988 MB / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.00321, allocations: 1.189 MB / 0.8209 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.003252, allocations: 0 / 0.8209 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.003278, allocations: 7.922 kB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.003321, allocations: 11.88 kB / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.003671, allocations: 131.6 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.003847, allocations: 115.8 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.003925, allocations: 12 kB / 0.8212 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.004059, allocations: 71.88 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.004149, allocations: 35.94 kB / 0.8213 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.004176, allocations: 12 kB / 0.8213 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.004259, allocations: 27.97 kB / 0.8213 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.004286, allocations: 11.94 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.00433, allocations: 23.94 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.004498, allocations: 75.83 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.004509, allocations: 0 / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00451, allocations: 4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.004523, allocations: 0 / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000504/0.005027, allocations: 321.9 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.005062, allocations: 12.03 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.005104, allocations: 4.938 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.00522, allocations: 129.6 kB / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.005232, allocations: 384 / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.005255, allocations: 12.38 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.005374, allocations: 58.94 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005382, allocations: 192 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.005391, allocations: 8.375 kB / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005397, allocations: 384 / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.005428, allocations: 15.92 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.005755, allocations: 180.2 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.547e-05/0.005841, allocations: 34.55 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.005862, allocations: 8.859 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.00587, allocations: 4 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.005983, allocations: 71.55 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.005984, allocations: 8 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001462/0.00613, allocations: 69.55 kB / 0.8223 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.006165, allocations: 59.39 kB / 0.8224 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.006239, allocations: 122.7 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.006262, allocations: 29.7 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.006306, allocations: 92.08 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.006328, allocations: 15.89 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.006388, allocations: 41.62 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.006471, allocations: 318.8 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.006535, allocations: 57.69 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.00661, allocations: 89.91 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.006713, allocations: 105.9 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006715, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001877/0.006903, allocations: 169 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.006939, allocations: 37.7 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.006946, allocations: 7.875 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006958, allocations: 4.125 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.007032, allocations: 20.05 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.007035, allocations: 0 / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.007149, allocations: 27.88 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.007169, allocations: 11.98 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.48e-05/0.007243, allocations: 121.8 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.007256, allocations: 7.984 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.007282, allocations: 12.38 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.007285, allocations: 8 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.007287, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.00729, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.007572, allocations: 210.8 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007574, allocations: 0 / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.007607, allocations: 7.938 kB / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.007619, allocations: 15.89 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007621, allocations: 0 / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.007629, allocations: 7.984 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.007631, allocations: 0 / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.007632, allocations: 8 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.63e-05/0.007728, allocations: 147.5 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.007744, allocations: 3.938 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.95e-05/0.007804, allocations: 8 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.007836, allocations: 7.969 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.007842, allocations: 4 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.007863, allocations: 20.78 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.007863, allocations: 0 / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002214/0.008084, allocations: 24 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000117/0.008201, allocations: 93.03 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.008383, allocations: 154.4 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.008388, allocations: 0 / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.008438, allocations: 32.77 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.008654, allocations: 100.2 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.009156, allocations: 153.5 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.009198, allocations: 71.2 kB / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.009226, allocations: 4 kB / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-05/0.009323, allocations: 71.36 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of SimCode: time 4.6e-07/0.009323, allocations: 0 / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.003337/0.01266, allocations: 1.7 MB / 0.8264 GB, free: 10.54 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.959900408983231]