Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001264/0.001264, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01087/0.01087, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.545/1.545, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.04/3.04, allocations: 462.6 MB / 0.7364 GB, free: 360 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004595, allocations: 11.03 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.411, allocations: 159.6 MB / 1.059 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001169/0.4122, allocations: 482.8 kB / 1.059 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.4141, allocations: 1.151 MB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.4141, allocations: 4 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.4142, allocations: 11.86 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.4143, allocations: 7.938 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.4148, allocations: 119.5 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.415, allocations: 103.8 kB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4151, allocations: 15.91 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.4152, allocations: 43.91 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.4153, allocations: 39.81 kB / 1.061 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.4153, allocations: 8 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.4154, allocations: 19.98 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.4154, allocations: 0 / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.4155, allocations: 61.55 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.4157, allocations: 111.6 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4157, allocations: 7.938 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4157, allocations: 3.938 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4157, allocations: 0 / 1.061 GB, free: 3.371 MB / 0.8106 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.0006202/0.4163, allocations: 402.7 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4164, allocations: 8.031 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.4164, allocations: 8.844 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4166, allocations: 172.3 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4166, allocations: 4.375 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.4166, allocations: 8.375 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4168, allocations: 70.22 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4168, allocations: 192 / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.4169, allocations: 3.938 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4169, allocations: 4 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.4171, allocations: 59.89 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.4176, allocations: 332.7 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.4178, allocations: 66.55 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.418, allocations: 44.91 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.418, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.4183, allocations: 95.36 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.4183, allocations: 3.938 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.4187, allocations: 161.5 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4188, allocations: 55.41 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.4189, allocations: 117.8 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.4189, allocations: 29.7 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.419, allocations: 96.03 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.419, allocations: 15.88 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.4191, allocations: 25.7 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4193, allocations: 314.8 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4194, allocations: 63.95 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.4196, allocations: 88.25 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4199, allocations: 154.1 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4199, allocations: 4 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004961/0.4204, allocations: 223.1 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4205, allocations: 37.7 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4205, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4205, allocations: 4.125 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4206, allocations: 15.98 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4207, allocations: 4 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.4209, allocations: 51.89 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.421, allocations: 7.984 kB / 1.063 GB, free: 404 kB / 0.8106 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.0001477/0.4211, allocations: 132.8 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.4211, allocations: 7.906 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.4212, allocations: 8.375 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4212, allocations: 3.938 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.4212, allocations: 0 / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4212, allocations: 4 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.4218, allocations: 386.5 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4218, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.4218, allocations: 15.92 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4219, allocations: 8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4219, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4219, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4219, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.4222, allocations: 227.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4224, allocations: 81.02 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4224, allocations: 7.984 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.4225, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4226, allocations: 15.92 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4226, allocations: 11.92 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.4226, allocations: 91.27 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4226, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002532/0.4229, allocations: 28 kB / 1.064 GB, free: 15.29 MB / 0.8262 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.000196/0.4231, allocations: 108.1 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.4235, allocations: 187.3 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4236, allocations: 4 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.4237, allocations: 35.98 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.424, allocations: 11.98 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.4244, allocations: 183.4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4248, allocations: 0.6887 MB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.4248, allocations: 7.984 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.4249, allocations: 11.44 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4249, allocations: 0 / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004617/0.4295, allocations: 1.331 MB / 1.067 GB, free: 12.67 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches