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.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.001785/0.001785, allocations: 115 kB / 17.08 MB, free: 5.984 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.002028/0.002028, allocations: 193.2 kB / 20.03 MB, free: 3.055 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.476/1.476, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.139/3.139, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002006/0.002006, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001923/1.023, allocations: 0.7546 MB / 1.263 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001566/1.024, allocations: 1.154 MB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/1.024, allocations: 0.9062 kB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/1.024, allocations: 4.453 kB / 1.264 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/1.024, allocations: 15.09 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/1.025, allocations: 128.5 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/1.025, allocations: 125.8 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/1.025, allocations: 13.69 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/1.025, allocations: 47.75 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/1.026, allocations: 41.42 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/1.026, allocations: 10.03 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/1.026, allocations: 37.27 kB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/1.026, allocations: 17.22 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/1.026, allocations: 43.16 kB / 1.265 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/1.026, allocations: 110.9 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/1.026, allocations: 0 / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/1.026, allocations: 0.7812 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.026, allocations: 0 / 1.265 GB, free: 6.438 MB / 0.9981 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.0005915/1.027, allocations: 412 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.027, allocations: 10.19 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/1.027, allocations: 14.14 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.236e-05/1.027, allocations: 173.1 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.027, allocations: 4.172 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/1.027, allocations: 7.906 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.027, allocations: 66.56 kB / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.027, allocations: 192 / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/1.027, allocations: 5.375 kB / 1.266 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.027, allocations: 4.625 kB / 1.266 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/1.027, allocations: 46.86 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/1.028, allocations: 325.8 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/1.028, allocations: 61.91 kB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/1.028, allocations: 40.33 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/1.028, allocations: 1.125 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/1.029, allocations: 87.52 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/1.029, allocations: 0 / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005102/1.029, allocations: 148.3 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/1.029, allocations: 58.38 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.029, allocations: 120.2 kB / 1.267 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/1.029, allocations: 29.94 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/1.029, allocations: 93.58 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/1.029, allocations: 19.45 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/1.029, allocations: 38.48 kB / 1.267 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/1.03, allocations: 323.6 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.03, allocations: 53.22 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/1.03, allocations: 83.92 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/1.03, allocations: 150 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.03, allocations: 0.9375 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005311/1.031, allocations: 212.5 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/1.031, allocations: 35.34 kB / 1.268 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.031, allocations: 5.125 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.031, allocations: 2.844 kB / 1.268 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.031, allocations: 18.88 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.031, allocations: 2.25 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/1.031, allocations: 31.16 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/1.031, allocations: 7.531 kB / 1.268 GB, free: 4.281 MB / 0.9981 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 9.206e-05/1.031, allocations: 133 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/1.032, allocations: 7.625 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/1.032, allocations: 10.88 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/1.032, allocations: 2.141 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.032, allocations: 0 / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.032, allocations: 1.359 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/1.032, allocations: 381.4 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.032, allocations: 4.781 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/1.032, allocations: 12.7 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.032, allocations: 0.9375 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/1.032, allocations: 1.531 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.032, allocations: 1.219 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.032, allocations: 0.5625 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.033, allocations: 212.4 kB / 1.268 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/1.033, allocations: 87.72 kB / 1.268 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/1.033, allocations: 1.969 kB / 1.268 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/1.033, allocations: 7.297 kB / 1.268 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/1.033, allocations: 8.891 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/1.033, allocations: 6.906 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.666e-05/1.033, allocations: 94.89 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002845/1.033, allocations: 21.09 kB / 1.269 GB, free: 3.434 MB / 0.9981 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.0001814/1.033, allocations: 109.4 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004315/1.034, allocations: 179.1 kB / 1.269 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.034, allocations: 0.75 kB / 1.269 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/1.034, allocations: 42.45 kB / 1.269 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/1.034, allocations: 13.83 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/1.035, allocations: 189.2 kB / 1.269 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/1.035, allocations: 0.6877 MB / 1.27 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/1.035, allocations: 16.16 kB / 1.27 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.035, allocations: 0 / 1.27 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.003866/1.039, allocations: 1.275 MB / 1.271 GB, free: 2.23 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.611191978910938]