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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001697/0.001697, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.571/2.571, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8696/0.8712, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002015/0.8733, allocations: 0.81 MB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.8746, allocations: 1.134 MB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.8747, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.8747, allocations: 7.922 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.8748, allocations: 13.42 kB / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.8753, allocations: 123 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.8755, allocations: 118.1 kB / 0.9514 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.8756, allocations: 22.97 kB / 0.9514 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.8757, allocations: 43.84 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.8758, allocations: 37.86 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.8758, allocations: 11.88 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.8759, allocations: 23.95 kB / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.8759, allocations: 14.3 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.876, allocations: 44.91 kB / 0.9516 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.8761, allocations: 108.7 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8761, allocations: 4 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8761, allocations: 3.938 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8762, allocations: 0 / 0.9517 GB, free: 7.242 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.0005482/0.8767, allocations: 412.8 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.8768, allocations: 9.5 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.8768, allocations: 32 kB / 0.9521 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.8769, allocations: 14.31 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.877, allocations: 183 kB / 0.9523 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.877, allocations: 4.344 kB / 0.9523 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.877, allocations: 14.66 kB / 0.9523 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.8772, allocations: 63.97 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8772, allocations: 7.875 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.8772, allocations: 1.156 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8773, allocations: 0 / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.8774, allocations: 39.11 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.8779, allocations: 331.6 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.8781, allocations: 58.7 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.8782, allocations: 33.42 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.8782, allocations: 9.578 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.8785, allocations: 91.92 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.8785, allocations: 0 / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004547/0.8789, allocations: 139.7 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.879, allocations: 56.97 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.8791, allocations: 120.4 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.8791, allocations: 28.11 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.8791, allocations: 95.14 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.8792, allocations: 18.55 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.8792, allocations: 37.61 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.8793, allocations: 328.1 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.8795, allocations: 51.84 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.8796, allocations: 91.78 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.8799, allocations: 144.8 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8799, allocations: 1.312 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004241/0.8803, allocations: 208.8 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.8804, allocations: 41.12 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8804, allocations: 1.25 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8804, allocations: 2.125 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.8805, allocations: 16.17 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8805, allocations: 1.188 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.8807, allocations: 32.83 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.8808, allocations: 10.19 kB / 0.9543 GB, free: 4.816 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 8.578e-05/0.8808, allocations: 126.2 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.8809, allocations: 10.19 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.8809, allocations: 9.562 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8809, allocations: 5.422 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8809, allocations: 0 / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8809, allocations: 1.188 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.8813, allocations: 367.1 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8813, allocations: 7.922 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.8814, allocations: 10.06 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8814, allocations: 1.406 kB / 0.9548 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.8814, allocations: 3.938 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.8814, allocations: 9.547 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8814, allocations: 0 / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.8817, allocations: 208.9 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.8817, allocations: 90.42 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.8818, allocations: 1.438 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.8818, allocations: 8.328 kB / 0.9551 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.8819, allocations: 10.56 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.8819, allocations: 6.734 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.882, allocations: 91.16 kB / 0.9552 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.882, allocations: 5.344 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002602/0.8822, allocations: 23.72 kB / 0.9553 GB, free: 3.91 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.0005191/0.8828, allocations: 0.75 MB / 0.956 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.8832, allocations: 179.2 kB / 0.9562 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8832, allocations: 5.062 kB / 0.9562 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.8833, allocations: 43.91 kB / 0.9562 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.8836, allocations: 11.41 kB / 0.9562 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.8854, allocations: 1.711 MB / 0.9579 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.8855, allocations: 0.6887 MB / 0.9586 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.8855, allocations: 8.688 kB / 0.9586 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.8856, allocations: 23.11 kB / 0.9586 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8856, allocations: 0 / 0.9586 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.8983, allocations: 2.373 MB / 0.9609 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.8986, allocations: 203.7 kB / 0.9611 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.73, allocations: 0 / 0.9611 GB, free: 15.34 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > 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