Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001216/0.001216, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 59.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.797, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002216/0.7993, allocations: 0.8079 MB / 0.9497 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.8007, allocations: 1.152 MB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.8008, allocations: 1.375 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.8008, allocations: 3.938 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.8009, allocations: 13.28 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.8014, allocations: 121.4 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.8015, allocations: 103.3 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8016, allocations: 22.56 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.8017, allocations: 40.28 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.8018, allocations: 38.61 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.8018, allocations: 5.312 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.8019, allocations: 16.55 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.8019, allocations: 15.05 kB / 0.9512 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.802, allocations: 40.09 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.8022, allocations: 108.6 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8022, allocations: 4 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8022, allocations: 3.938 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8022, allocations: 3.938 kB / 0.9514 GB, free: 7.297 MB / 0.7169 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.0005485/0.8027, allocations: 411.2 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8028, allocations: 9.438 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.8028, allocations: 10.44 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.803, allocations: 176.5 kB / 0.9519 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.803, allocations: 3.125 kB / 0.9519 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.803, allocations: 6.906 kB / 0.952 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.8032, allocations: 67.53 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8032, allocations: 192 / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.8032, allocations: 4.969 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8033, allocations: 1.156 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.8034, allocations: 47.39 kB / 0.9521 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.8039, allocations: 331.5 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.8041, allocations: 58.67 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.8042, allocations: 37 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.8043, allocations: 1.344 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.8045, allocations: 91.61 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.8045, allocations: 0 / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000464/0.805, allocations: 136.1 kB / 0.9527 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.8051, allocations: 64.48 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.8052, allocations: 123.2 kB / 0.9529 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.8052, allocations: 30.45 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.8052, allocations: 94.19 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.8053, allocations: 19.75 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.8054, allocations: 36.33 kB / 0.953 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.8054, allocations: 321.7 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.8056, allocations: 46.53 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.8058, allocations: 96.03 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.806, allocations: 152.3 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.806, allocations: 1.125 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004101/0.8065, allocations: 209.5 kB / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.8065, allocations: 33.55 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8065, allocations: 1.125 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.8065, allocations: 1.094 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.8066, allocations: 20.8 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8067, allocations: 5.047 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.8069, allocations: 32.02 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.8069, allocations: 6.656 kB / 0.9539 GB, free: 4.922 MB / 0.7169 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 8.475e-05/0.807, allocations: 133.1 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.807, allocations: 10.62 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.8071, allocations: 14.03 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8071, allocations: 1.219 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8071, allocations: 1.406 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8071, allocations: 0 / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.8075, allocations: 374.6 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8075, allocations: 1.156 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.8076, allocations: 9.203 kB / 0.9544 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8076, allocations: 5.281 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8076, allocations: 1.062 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8076, allocations: 0 / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8076, allocations: 1.438 kB / 0.9545 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.8079, allocations: 208.2 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.808, allocations: 86.8 kB / 0.9547 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.808, allocations: 5.594 kB / 0.9547 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.8081, allocations: 11.11 kB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.8081, allocations: 7.578 kB / 0.9548 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.8082, allocations: 10.81 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.8082, allocations: 95.61 kB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8082, allocations: 0 / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000298/0.8085, allocations: 20.66 kB / 0.9549 GB, free: 4.016 MB / 0.7169 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.0001848/0.8087, allocations: 103.3 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.8091, allocations: 179.6 kB / 0.9552 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8091, allocations: 4 kB / 0.9552 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.8093, allocations: 36.03 kB / 0.9552 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.8096, allocations: 13.98 kB / 0.9552 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.81, allocations: 176.8 kB / 0.9554 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.8102, allocations: 0.6888 MB / 0.956 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.253e-05/0.8103, allocations: 7.625 kB / 0.9561 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.8103, allocations: 11 kB / 0.9561 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8103, allocations: 4 kB / 0.9561 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.004691/0.815, allocations: 1.335 MB / 0.9574 GB, free: 2.219 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches