Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001574/0.001574, allocations: 111.7 kB / 17.08 MB, free: 6.016 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.001631/0.001631, allocations: 187.8 kB / 20.02 MB, free: 3.086 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.223 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 2.974/2.974, allocations: 489.3 MB / 0.7687 GB, free: 3.73 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 67.91 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9685/0.9707, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001993/0.9728, allocations: 0.7455 MB / 1.263 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.9744, allocations: 1.158 MB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.9745, allocations: 2.219 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.9745, allocations: 4.547 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.9746, allocations: 18.83 kB / 1.264 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.9751, allocations: 127 kB / 1.265 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.9753, allocations: 122.1 kB / 1.265 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.9755, allocations: 21.86 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.9756, allocations: 43.38 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.9757, allocations: 49.98 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.9757, allocations: 10.5 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.9758, allocations: 28.16 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.9758, allocations: 13.38 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.9759, allocations: 43.33 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.9762, allocations: 109.8 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9762, allocations: 8.625 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9762, allocations: 0 / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.9762, allocations: 0 / 1.265 GB, free: 6.422 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.0005939/0.9768, allocations: 411.8 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9768, allocations: 9.031 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.9769, allocations: 10.92 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.977, allocations: 173.3 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.977, allocations: 4.797 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.9771, allocations: 10.38 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.9773, allocations: 67.39 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9773, allocations: 0.7031 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.9773, allocations: 5.188 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9773, allocations: 1.312 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.9775, allocations: 41.59 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.978, allocations: 333.8 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.9782, allocations: 58.47 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.9783, allocations: 35.89 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.9784, allocations: 0.875 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.9786, allocations: 92.58 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.9786, allocations: 0 / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004827/0.9791, allocations: 139.9 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.9792, allocations: 53.92 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.9792, allocations: 121.7 kB / 1.267 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.9793, allocations: 36.2 kB / 1.267 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.9793, allocations: 93.83 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.9794, allocations: 27.95 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.9794, allocations: 38.45 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.9795, allocations: 320.1 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.9797, allocations: 53.22 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.9799, allocations: 87.88 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.9801, allocations: 145.3 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9802, allocations: 4 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004751/0.9806, allocations: 205.7 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.9807, allocations: 35.34 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9807, allocations: 1.203 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.9807, allocations: 2.219 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.9808, allocations: 14.91 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9808, allocations: 2.906 kB / 1.268 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.9811, allocations: 38.5 kB / 1.268 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.9811, allocations: 7.688 kB / 1.268 GB, free: 4.273 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,edge1.y,edge1.u,$PRE.edge1.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.191e-05/0.9812, allocations: 125.4 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.9812, allocations: 7.906 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.9812, allocations: 14.22 kB / 1.268 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9812, allocations: 1.5 kB / 1.268 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.9812, allocations: 8.062 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.9813, allocations: 1.469 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.9817, allocations: 382.5 kB / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9817, allocations: 0 / 1.268 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.9818, allocations: 12.55 kB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9818, allocations: 1.422 kB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.9818, allocations: 1.359 kB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.9818, allocations: 6.172 kB / 1.268 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9818, allocations: 0 / 1.268 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.9821, allocations: 212.6 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.9822, allocations: 79.38 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.9822, allocations: 6.641 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.9823, allocations: 6.219 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.9823, allocations: 10.09 kB / 1.268 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.9824, allocations: 6.922 kB / 1.268 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.9824, allocations: 95.09 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9824, allocations: 0 / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002765/0.9827, allocations: 25.52 kB / 1.269 GB, free: 3.422 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001345/0.9828, allocations: 100.6 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.9833, allocations: 183.6 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9833, allocations: 0.7812 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.9834, allocations: 43 kB / 1.269 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.9837, allocations: 18.91 kB / 1.269 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.9841, allocations: 189.4 kB / 1.269 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.9842, allocations: 0.6912 MB / 1.27 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.9843, allocations: 12.42 kB / 1.27 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.9843, allocations: 0 / 1.27 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of Templates: time 0.003594/0.9879, allocations: 1.262 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.Edge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.751475249882787]