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.001347/0.001347, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.00146/0.00146, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 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.329/2.329, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.847, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001804/0.8489, allocations: 0.7435 MB / 1.089 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.8502, allocations: 1.159 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.8503, allocations: 1.156 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.8503, allocations: 4.5 kB / 1.091 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.8504, allocations: 6.266 kB / 1.091 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.8509, allocations: 137.6 kB / 1.091 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.8511, allocations: 121.5 kB / 1.091 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.8512, allocations: 17.48 kB / 1.091 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.8513, allocations: 43.73 kB / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.8514, allocations: 50.06 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.8515, allocations: 10.25 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.8516, allocations: 24.25 kB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.8516, allocations: 13.3 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.8517, allocations: 47.75 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.8519, allocations: 107.6 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8519, allocations: 0 / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8519, allocations: 0 / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.8519, allocations: 1.125 kB / 1.091 GB, free: 4.188 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.0005066/0.8524, allocations: 411.8 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.8524, allocations: 12.78 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.8525, allocations: 6.578 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.8526, allocations: 176.7 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.8526, allocations: 17.56 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.8526, allocations: 6.438 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.8528, allocations: 62.72 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8528, allocations: 4.188 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8529, allocations: 5.641 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8529, allocations: 1.641 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.8531, allocations: 42.06 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.8535, allocations: 333.1 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.8537, allocations: 63.41 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.8538, allocations: 38.48 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.8538, allocations: 0.9375 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.8541, allocations: 87.91 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.8541, allocations: 4 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004538/0.8545, allocations: 140.8 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.8546, allocations: 54.47 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.8546, allocations: 116.9 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.8547, allocations: 32.33 kB / 1.093 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.8547, allocations: 90.33 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.8547, allocations: 19.88 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.8548, allocations: 42.89 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.8549, allocations: 319.3 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.855, allocations: 53.59 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.8552, allocations: 83.58 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.8555, allocations: 149.5 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8555, allocations: 0 / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004327/0.8559, allocations: 213.4 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.856, allocations: 35.75 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.856, allocations: 1.062 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.856, allocations: 1.656 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.8561, allocations: 11.56 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8561, allocations: 2.938 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.8563, allocations: 41.61 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.8564, allocations: 8.578 kB / 1.094 GB, free: 2.031 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 7.215e-05/0.8564, allocations: 126.4 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.8565, allocations: 2.625 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.8565, allocations: 11.61 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8565, allocations: 0.6875 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8565, allocations: 0.8438 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8565, allocations: 0.5625 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.857, allocations: 379.3 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.857, allocations: 0 / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.857, allocations: 16.59 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.857, allocations: 0.6875 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.857, allocations: 1.672 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8571, allocations: 4.938 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8571, allocations: 1.344 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.8574, allocations: 216.6 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.8574, allocations: 83.48 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.8574, allocations: 5.766 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.8575, allocations: 7.062 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.8575, allocations: 5.312 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.8576, allocations: 11.55 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.8576, allocations: 95.62 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.41e-07/0.8576, allocations: 0 / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000272/0.8579, allocations: 32.31 kB / 1.095 GB, free: 1.184 MB / 0.8575 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.0001329/0.858, allocations: 110.4 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.8584, allocations: 175.3 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8584, allocations: 0.8125 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.8586, allocations: 42.44 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.8589, allocations: 13 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.8592, allocations: 190.6 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.8593, allocations: 0.6869 MB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.8593, allocations: 12.19 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.8593, allocations: 4.625 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of Templates: time 0.003164/0.8625, allocations: 1.261 MB / 1.097 GB, free: 15.98 MB / 0.8731 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