Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001365/0.001365, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001458/0.001458, allocations: 192.8 kB / 22.17 MB, free: 5.652 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.467/1.467, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.91 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8404/0.8424, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00195/0.8444, allocations: 0.7459 MB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.8459, allocations: 1.16 MB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.846, allocations: 0 / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.846, allocations: 3.938 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.8461, allocations: 11.86 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.8466, allocations: 147.1 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.8468, allocations: 111.8 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.8468, allocations: 19.97 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.8469, allocations: 47.91 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.847, allocations: 35.89 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.8471, allocations: 15.98 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.052e-05/0.8471, allocations: 23.98 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.8472, allocations: 15.92 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.8472, allocations: 39.84 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.8474, allocations: 118.2 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.8474, allocations: 0 / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8474, allocations: 0 / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8474, allocations: 4 kB / 1.276 GB, free: 2.039 MB / 0.9669 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.0006794/0.8481, allocations: 416.9 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8481, allocations: 8.031 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.8482, allocations: 8.922 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.8483, allocations: 172.3 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.8484, allocations: 8.375 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.8484, allocations: 12.38 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.8486, allocations: 66.2 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.8486, allocations: 4.125 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.8486, allocations: 3.938 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.8486, allocations: 4 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.8488, allocations: 39.95 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.8493, allocations: 324.8 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.8495, allocations: 66.48 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.8496, allocations: 28.95 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.8497, allocations: 0 / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.8499, allocations: 95.42 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.8499, allocations: 0 / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004551/0.8504, allocations: 141.5 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.8504, allocations: 55.41 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.8505, allocations: 121.8 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.8505, allocations: 33.7 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.8506, allocations: 88.14 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.8506, allocations: 27.77 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.8507, allocations: 37.7 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8509, allocations: 322.8 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.851, allocations: 51.97 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.8512, allocations: 88.25 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.8515, allocations: 149.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8515, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004659/0.852, allocations: 207.1 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.8521, allocations: 41.69 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8521, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8521, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.8522, allocations: 11.98 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8522, allocations: 8.062 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.8524, allocations: 31.97 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.8524, allocations: 11.98 kB / 1.279 GB, free: 15.12 MB / 0.9825 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.000107/0.8525, allocations: 124.4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.8525, allocations: 7.953 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.8526, allocations: 12.36 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8526, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8526, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8526, allocations: 7.984 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.8531, allocations: 378.3 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8531, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.8532, allocations: 12.05 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8532, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.8532, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8532, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8532, allocations: 3.938 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.8535, allocations: 207.8 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.8535, allocations: 89.05 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.8536, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.8537, allocations: 8 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.8537, allocations: 11.98 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.8537, allocations: 7.938 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.8538, allocations: 91.27 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8538, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002663/0.854, allocations: 24 kB / 1.28 GB, free: 14.04 MB / 0.9825 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.00016/0.8542, allocations: 103.8 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.8546, allocations: 167.2 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8546, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8547, allocations: 43.98 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.855, allocations: 11.98 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.8554, allocations: 174.5 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.8557, allocations: 0.6948 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.8557, allocations: 4 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.8558, allocations: 15.44 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8558, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of Templates: time 0.004518/0.8603, allocations: 1.459 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.732771852985024]