Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.894, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002124/0.8961, allocations: 0.7541 MB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.8977, allocations: 1.146 MB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.8978, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.8979, allocations: 7.922 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/0.898, allocations: 11.88 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.8986, allocations: 135.4 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.8988, allocations: 123.7 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.899, allocations: 27.91 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.8991, allocations: 47.91 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.8992, allocations: 43.88 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.8992, allocations: 12 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.8993, allocations: 23.98 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.8993, allocations: 15.92 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.8994, allocations: 39.84 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.8996, allocations: 115.6 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8997, allocations: 0 / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8997, allocations: 0 / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.8997, allocations: 4 kB / 1.17 GB, free: 1.32 MB / 0.8887 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.0007059/0.9004, allocations: 410.7 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9004, allocations: 12.03 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.9005, allocations: 8.844 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.9006, allocations: 176.3 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.9007, allocations: 4.375 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.9007, allocations: 8.375 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.9009, allocations: 70.22 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9009, allocations: 192 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9009, allocations: 3.938 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.901, allocations: 0 / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.9012, allocations: 43.89 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.9017, allocations: 328.7 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.9019, allocations: 70.48 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.902, allocations: 32.95 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.902, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.9023, allocations: 91.36 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.9023, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004473/0.9027, allocations: 137.6 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.9028, allocations: 59.33 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.9029, allocations: 125.8 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.9029, allocations: 29.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.903, allocations: 88.14 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.903, allocations: 19.75 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.9031, allocations: 41.69 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9032, allocations: 314.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.9034, allocations: 55.95 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.9036, allocations: 84.25 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.9039, allocations: 145.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9039, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004434/0.9043, allocations: 211 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.9044, allocations: 41.69 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9044, allocations: 4.312 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9044, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.9045, allocations: 11.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9045, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.9047, allocations: 36 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.9048, allocations: 15.97 kB / 1.172 GB, free: 14.41 MB / 0.9044 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 0.0001073/0.9049, allocations: 128 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.9049, allocations: 7.906 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.9049, allocations: 8.375 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.905, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.905, allocations: 4 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.905, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.9055, allocations: 378.4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9055, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.9055, allocations: 7.984 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.9055, allocations: 4 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.9056, allocations: 3.938 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9056, allocations: 4.062 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9056, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.9059, allocations: 219.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.9059, allocations: 92.94 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.906, allocations: 3.984 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.906, allocations: 8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.9061, allocations: 7.984 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.9061, allocations: 7.938 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.149e-05/0.9062, allocations: 99.75 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9062, allocations: 0 / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002629/0.9064, allocations: 24 kB / 1.173 GB, free: 13.33 MB / 0.9044 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.0001464/0.9066, allocations: 103.2 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.907, allocations: 175.3 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.907, allocations: 4.25 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.9071, allocations: 39.92 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.9074, allocations: 18.48 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.9078, allocations: 184.4 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.9081, allocations: 0.6885 MB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.9081, allocations: 19.38 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9081, allocations: 0 / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.003022/0.9112, allocations: 1.25 MB / 1.176 GB, free: 10.79 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches