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.001065/0.001065, allocations: 98.27 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.008082/0.008083, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.655/2.655, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.839, allocations: 142.4 MB / 0.955 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001007/0.8401, allocations: 484.3 kB / 0.9555 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.8416, allocations: 1.146 MB / 0.9566 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.8417, allocations: 0 / 0.9566 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.8417, allocations: 0 / 0.9566 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.8418, allocations: 13.17 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.8423, allocations: 122.1 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.8425, allocations: 110.4 kB / 0.9569 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.8426, allocations: 19 kB / 0.9569 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.8427, allocations: 39.09 kB / 0.9569 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.8428, allocations: 38.38 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.8428, allocations: 5.281 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.8429, allocations: 22.92 kB / 0.957 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.8429, allocations: 7.25 kB / 0.957 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.843, allocations: 70.06 kB / 0.9571 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.8432, allocations: 104.2 kB / 0.9572 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8432, allocations: 3.984 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8432, allocations: 0 / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.8432, allocations: 0.8125 kB / 0.9572 GB, free: 5.977 MB / 0.7169 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.0005305/0.8438, allocations: 390.7 kB / 0.9575 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8438, allocations: 13.02 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.8439, allocations: 18.16 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.844, allocations: 167.9 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.844, allocations: 7.812 kB / 0.9577 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.844, allocations: 6.219 kB / 0.9577 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.8443, allocations: 73.66 kB / 0.9578 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8443, allocations: 192 / 0.9578 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.8443, allocations: 3.938 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8443, allocations: 1.281 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.8445, allocations: 57.39 kB / 0.9579 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.845, allocations: 335.1 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.8452, allocations: 71.64 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.8453, allocations: 39.03 kB / 0.9583 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.8453, allocations: 4 kB / 0.9583 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.8456, allocations: 88.61 kB / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.8456, allocations: 1.875 kB / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.8461, allocations: 156.5 kB / 0.9585 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.8461, allocations: 58.36 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.8462, allocations: 115.2 kB / 0.9587 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.8462, allocations: 32.08 kB / 0.9587 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.8463, allocations: 104 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.8463, allocations: 22.56 kB / 0.9588 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.8463, allocations: 20.5 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.8464, allocations: 319.8 kB / 0.9592 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.8465, allocations: 57.33 kB / 0.9592 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.8467, allocations: 88.08 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.847, allocations: 158.8 kB / 0.9595 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.847, allocations: 3.938 kB / 0.9595 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004157/0.8474, allocations: 215.2 kB / 0.9597 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.8475, allocations: 35.67 kB / 0.9597 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8475, allocations: 1.375 kB / 0.9597 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8475, allocations: 1.375 kB / 0.9597 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.8476, allocations: 17.55 kB / 0.9597 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8476, allocations: 2.75 kB / 0.9597 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.8478, allocations: 55.52 kB / 0.9598 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.8479, allocations: 6.875 kB / 0.9598 GB, free: 3.613 MB / 0.7169 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.559e-05/0.848, allocations: 124.6 kB / 0.9599 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.848, allocations: 10.66 kB / 0.9599 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.848, allocations: 9.75 kB / 0.9599 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.848, allocations: 1.375 kB / 0.9599 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.848, allocations: 1.375 kB / 0.9599 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.848, allocations: 0 / 0.9599 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.8484, allocations: 388.5 kB / 0.9603 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8484, allocations: 5.312 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.8485, allocations: 14.86 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8485, allocations: 1.375 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.8485, allocations: 1.375 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8485, allocations: 0 / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8485, allocations: 1.375 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.8488, allocations: 229.6 kB / 0.9605 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.8489, allocations: 87.86 kB / 0.9606 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.8489, allocations: 4.844 kB / 0.9606 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.849, allocations: 17.77 kB / 0.9606 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.849, allocations: 11.47 kB / 0.9607 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.8491, allocations: 6.188 kB / 0.9607 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.8491, allocations: 96.06 kB / 0.9608 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8491, allocations: 1.031 kB / 0.9608 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002693/0.8494, allocations: 24.62 kB / 0.9608 GB, free: 2.691 MB / 0.7169 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.0001581/0.8495, allocations: 102.7 kB / 0.9609 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.85, allocations: 189.9 kB / 0.9611 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.85, allocations: 0 / 0.9611 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.8501, allocations: 52.53 kB / 0.9611 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.8504, allocations: 16.25 kB / 0.9611 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.8508, allocations: 171.1 kB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.8509, allocations: 0.6942 MB / 0.962 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.8509, allocations: 7.875 kB / 0.962 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.851, allocations: 14.42 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.851, allocations: 1.188 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of Templates: time 0.004075/0.855, allocations: 1.302 MB / 0.9633 GB, free: 0.9219 MB / 0.7169 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/jenkins/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