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.001221/0.001221, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01002/0.01002, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.831/2.831, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8 kB / 0.8728 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/0.8534, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009985/0.8545, allocations: 486 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.8559, allocations: 1.148 MB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.856, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.856, allocations: 3.938 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.8561, allocations: 3.938 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.8565, allocations: 123.4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.8566, allocations: 103.8 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.8567, allocations: 15.98 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.8568, allocations: 43.89 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.8569, allocations: 39.83 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.8569, allocations: 4 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.857, allocations: 19.98 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.857, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.8571, allocations: 69.53 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.8572, allocations: 107.6 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8572, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8573, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8573, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 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.0005401/0.8578, allocations: 399 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.8579, allocations: 8.031 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.8579, allocations: 12.78 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.858, allocations: 168.3 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.858, allocations: 8.375 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.8581, allocations: 8.375 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.8583, allocations: 74.2 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.8583, allocations: 192 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8583, allocations: 7.938 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8583, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.8585, allocations: 55.95 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.859, allocations: 332.6 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.8592, allocations: 70.55 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8593, allocations: 36.97 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.8593, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.8595, allocations: 99.3 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.8595, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004306/0.86, allocations: 161.6 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.86, allocations: 55.41 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.8601, allocations: 118.1 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.8601, allocations: 33.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.8602, allocations: 96.03 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.8602, allocations: 19.75 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.8603, allocations: 21.7 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8604, allocations: 322.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.8606, allocations: 59.95 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.8608, allocations: 88.25 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.8611, allocations: 157.8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8611, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004388/0.8615, allocations: 215.1 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.8616, allocations: 37.83 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8616, allocations: 7.984 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.8616, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.8617, allocations: 8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8617, allocations: 7.984 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.8619, allocations: 47.97 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.862, allocations: 7.984 kB / 1.028 GB, free: 10.67 MB / 0.7794 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.0001116/0.8621, allocations: 127.8 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.8621, allocations: 15.83 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.8621, allocations: 8.375 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8622, allocations: 4 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8622, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8622, allocations: 7.984 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.8626, allocations: 378.5 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8627, allocations: 3.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.8627, allocations: 15.98 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8627, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.8627, allocations: 8.062 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8628, allocations: 3.938 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8628, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.8631, allocations: 223.7 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.8631, allocations: 92.94 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.8631, allocations: 0 / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.8632, allocations: 12 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.8633, allocations: 3.984 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.8633, allocations: 7.938 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.8633, allocations: 99.42 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8634, allocations: 3.938 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002525/0.8636, allocations: 24 kB / 1.029 GB, free: 9.551 MB / 0.7794 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.0001545/0.8638, allocations: 107.2 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.8642, allocations: 195.3 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8642, allocations: 0 / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.8643, allocations: 39.98 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.8646, allocations: 18.23 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.8649, allocations: 175.5 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.8653, allocations: 0.6848 MB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.8653, allocations: 11.84 kB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.8653, allocations: 15.44 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8653, allocations: 7.938 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.003592/0.8689, allocations: 1.313 MB / 1.031 GB, free: 6.945 MB / 0.7794 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/jenkins/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