Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001415/0.001415, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001639/0.001639, allocations: 189.8 kB / 22.11 MB, free: 5.16 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.586/1.586, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.398/3.398, allocations: 495.8 MB / 0.783 GB, free: 33.5 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 68.52 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4649, allocations: 173.6 MB / 1.307 GB, free: 1.871 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002475/0.4674, allocations: 0.7491 MB / 1.307 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00204/0.4694, allocations: 1.166 MB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.4695, allocations: 4 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.4695, allocations: 3.938 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.4697, allocations: 11.88 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.4704, allocations: 127.2 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003559/0.4707, allocations: 123.7 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4708, allocations: 15.98 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4709, allocations: 39.92 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.4711, allocations: 47.86 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.4711, allocations: 16 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.4712, allocations: 24 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.4712, allocations: 11.92 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.4713, allocations: 47.83 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.4715, allocations: 115.6 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4716, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.214e-06/0.4716, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.153e-05/0.4716, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 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.0006945/0.4723, allocations: 339.7 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4723, allocations: 12.92 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.4724, allocations: 8.938 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.4725, allocations: 114.4 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4725, allocations: 12.36 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4725, allocations: 4.375 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.4728, allocations: 62.23 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4728, allocations: 4.125 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4728, allocations: 7.922 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4728, allocations: 0 / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.473, allocations: 43.97 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.4736, allocations: 303.8 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.4738, allocations: 62.47 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4739, allocations: 32.97 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.4739, allocations: 0 / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.4742, allocations: 87.36 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.4742, allocations: 0 / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0005526/0.4748, allocations: 149.7 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.4748, allocations: 55.41 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.4749, allocations: 117.8 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.475, allocations: 33.7 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.4751, allocations: 96.19 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4751, allocations: 19.73 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.4752, allocations: 41.64 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001735/0.4753, allocations: 322.8 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4755, allocations: 63.95 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.4757, allocations: 84.25 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.476, allocations: 145.9 kB / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.476, allocations: 0 / 1.311 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.000481/0.4765, allocations: 207.1 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.4765, allocations: 37.83 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4765, allocations: 8 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4766, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.4767, allocations: 11.98 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.4767, allocations: 3.938 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.4769, allocations: 35.95 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4769, allocations: 8 kB / 1.312 GB, free: 12.64 MB / 1.014 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.0001265/0.477, allocations: 133.7 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.4771, allocations: 7.953 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.4771, allocations: 8.375 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4771, allocations: 0 / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4771, allocations: 0 / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4771, allocations: 4 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.4776, allocations: 353.4 kB / 1.312 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4777, allocations: 4 kB / 1.312 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.4777, allocations: 11.98 kB / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4777, allocations: 4 kB / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4777, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4777, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4777, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.4781, allocations: 215.4 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.4781, allocations: 7.891 kB / 1.312 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4781, allocations: 4 kB / 1.312 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.4782, allocations: 7.984 kB / 1.312 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.4783, allocations: 11.92 kB / 1.312 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4783, allocations: 7.938 kB / 1.312 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.778e-05/0.4784, allocations: 95.27 kB / 1.312 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4784, allocations: 0 / 1.312 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002708/0.4786, allocations: 20 kB / 1.312 GB, free: 11.69 MB / 1.014 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.0001765/0.4788, allocations: 104 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004444/0.4793, allocations: 163.3 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4793, allocations: 0 / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.4794, allocations: 35.91 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4797, allocations: 29.45 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.4802, allocations: 154.8 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4806, allocations: 0.6895 MB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.713e-05/0.4806, allocations: 4 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.4806, allocations: 11.44 kB / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of SimCode: time 4.4e-07/0.4807, allocations: 0 / 1.314 GB, free: 10.43 MB / 1.014 GB
Notification: Performance of Templates: time 0.005106/0.4858, allocations: 1.482 MB / 1.315 GB, free: 8.965 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.753081440925598]