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.00162/0.00162, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.001469/0.001469, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9437, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001859/0.9456, allocations: 0.75 MB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.9469, allocations: 1.155 MB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.947, allocations: 1.062 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.947, allocations: 4.828 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.9471, allocations: 14.81 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.9476, allocations: 128.2 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.9478, allocations: 121.9 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.9479, allocations: 16.61 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.948, allocations: 48.22 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.9481, allocations: 46.44 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.9481, allocations: 10.34 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.9482, allocations: 32.14 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.9482, allocations: 17.73 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.9483, allocations: 47.14 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.9485, allocations: 102.5 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.9485, allocations: 1.625 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9485, allocations: 4 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9486, allocations: 0 / 1.091 GB, free: 3.934 MB / 0.8575 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.0005308/0.9491, allocations: 414.9 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9491, allocations: 8.469 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.9492, allocations: 7.094 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.9493, allocations: 173 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.9493, allocations: 5.219 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9493, allocations: 6.656 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.9496, allocations: 71.27 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9496, allocations: 192 / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.9496, allocations: 4.844 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9496, allocations: 1.703 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.9498, allocations: 42.09 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.9503, allocations: 328.9 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.9504, allocations: 67.7 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.9506, allocations: 35.38 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.9506, allocations: 4.734 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.9508, allocations: 87.3 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.9508, allocations: 0 / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004356/0.9512, allocations: 144.7 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.9513, allocations: 58.36 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.9514, allocations: 121.6 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.9514, allocations: 28.3 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.9514, allocations: 94 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.9515, allocations: 19.8 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.9515, allocations: 39.41 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.9516, allocations: 319.2 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.9518, allocations: 49.47 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.952, allocations: 93.81 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.9522, allocations: 142.2 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9522, allocations: 3.938 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004425/0.9527, allocations: 213.2 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.9527, allocations: 34.97 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9528, allocations: 2.078 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9528, allocations: 1.719 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.9529, allocations: 15.22 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.9529, allocations: 6.266 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.9531, allocations: 42.2 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.9531, allocations: 8.734 kB / 1.094 GB, free: 1.781 MB / 0.8575 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.046e-05/0.9532, allocations: 127.4 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.9532, allocations: 4.609 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.9533, allocations: 6.344 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9533, allocations: 0.5625 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9533, allocations: 0 / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.9533, allocations: 88.75 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.9533, allocations: 10.02 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.9534, allocations: 6.312 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.9535, allocations: 10.2 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003122/0.9538, allocations: 192.8 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002986/0.9541, allocations: 287.5 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001155/0.9542, allocations: 35.66 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.9543, allocations: 90.83 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.9543, allocations: 0.75 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006134/0.9549, allocations: 234.6 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004226/0.9553, allocations: 0.6081 MB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of Templates: time 0.004749/0.9601, allocations: 1.54 MB / 1.097 GB, free: 180 kB / 0.8575 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/jenkins1/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