Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.002093/0.002093, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.003087/0.003087, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.559/1.559, 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.684/2.684, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002557/1.058, allocations: 0.7593 MB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002158/1.06, allocations: 1.159 MB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/1.06, allocations: 1.219 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/1.06, allocations: 3.938 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.449e-05/1.06, allocations: 17.23 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/1.06, allocations: 141.7 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/1.061, allocations: 121.2 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/1.061, allocations: 12.3 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/1.061, allocations: 48.3 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/1.061, allocations: 47.48 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/1.061, allocations: 10.91 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/1.061, allocations: 24.02 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/1.061, allocations: 11.42 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/1.061, allocations: 47.69 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/1.062, allocations: 116.3 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.062, allocations: 1.062 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/1.062, allocations: 0 / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.062, allocations: 0 / 1.221 GB, free: 1.828 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007882/1.062, allocations: 412.8 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.062, allocations: 8.406 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/1.063, allocations: 11.02 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/1.063, allocations: 171.6 kB / 1.222 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/1.063, allocations: 7.688 kB / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/1.063, allocations: 10.67 kB / 1.222 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/1.063, allocations: 60.58 kB / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.063, allocations: 192 / 1.222 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.063, allocations: 9.25 kB / 1.222 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.063, allocations: 3.938 kB / 1.222 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.063, allocations: 43.48 kB / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/1.064, allocations: 339.1 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/1.064, allocations: 60.23 kB / 1.222 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.064, allocations: 32.19 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/1.064, allocations: 7.984 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/1.064, allocations: 80.66 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/1.064, allocations: 0 / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004614/1.065, allocations: 147.6 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/1.065, allocations: 52.81 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.065, allocations: 120 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/1.065, allocations: 32.17 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/1.065, allocations: 91.84 kB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/1.065, allocations: 22.92 kB / 1.223 GB, free: 216 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/1.065, allocations: 37.83 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.065, allocations: 321 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/1.066, allocations: 51.36 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/1.066, allocations: 84.2 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/1.066, allocations: 152.1 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.066, allocations: 0 / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005148/1.067, allocations: 215.4 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/1.067, allocations: 33.11 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.067, allocations: 1 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.067, allocations: 2.344 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/1.067, allocations: 20.08 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.067, allocations: 5.469 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.067, allocations: 32.45 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/1.067, allocations: 6.375 kB / 1.223 GB, free: 15.45 MB / 0.9356 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 0.0001345/1.067, allocations: 129.3 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/1.067, allocations: 10.06 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/1.067, allocations: 14.47 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.067, allocations: 1.094 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.067, allocations: 0 / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.067, allocations: 1.125 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/1.068, allocations: 382.8 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.068, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/1.068, allocations: 10.61 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.068, allocations: 4 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/1.068, allocations: 1.156 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.068, allocations: 0.8438 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.068, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/1.068, allocations: 216.8 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/1.068, allocations: 83.12 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/1.068, allocations: 5.062 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/1.068, allocations: 12.45 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/1.068, allocations: 10.06 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/1.068, allocations: 11.06 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.431e-05/1.069, allocations: 96.03 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002655/1.069, allocations: 20.47 kB / 1.224 GB, free: 14.54 MB / 0.9356 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.0001732/1.069, allocations: 104.9 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004155/1.069, allocations: 164.2 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.069, allocations: 0 / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/1.07, allocations: 37.75 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/1.07, allocations: 17.16 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/1.07, allocations: 178.8 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/1.071, allocations: 0.6848 MB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.333e-05/1.071, allocations: 7.203 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/1.071, allocations: 11.62 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/1.071, allocations: 0 / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.004842/1.076, allocations: 1.47 MB / 1.227 GB, free: 12.69 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.473397897556424]