Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 117.9 kB / 16.42 MB, free: 6.496 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.00136/0.00136, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.82/2.82, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001677, allocations: 67.89 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002306/1.122, allocations: 0.746 MB / 1.222 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001657/1.124, allocations: 1.143 MB / 1.223 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/1.124, allocations: 8 kB / 1.223 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/1.124, allocations: 3.938 kB / 1.223 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/1.124, allocations: 15.86 kB / 1.223 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/1.125, allocations: 134.9 kB / 1.223 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000205/1.125, allocations: 127.7 kB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/1.125, allocations: 19.94 kB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/1.125, allocations: 43.91 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/1.125, allocations: 51.8 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.125, allocations: 12 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/1.125, allocations: 23.98 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/1.125, allocations: 11.94 kB / 1.223 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/1.125, allocations: 47.97 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/1.126, allocations: 115.5 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.126, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.893e-06/1.126, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.126, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006573/1.126, allocations: 414.7 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.126, allocations: 8.031 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/1.126, allocations: 8.844 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.127, allocations: 180.2 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/1.127, allocations: 8.375 kB / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/1.127, allocations: 16.31 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/1.127, allocations: 66.16 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.127, allocations: 192 / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/1.127, allocations: 7.938 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/1.127, allocations: 0 / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/1.127, allocations: 43.95 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/1.128, allocations: 336.7 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/1.128, allocations: 58.55 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/1.128, allocations: 32.97 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.128, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/1.128, allocations: 87.36 kB / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/1.128, allocations: 0 / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004828/1.129, allocations: 145.5 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.129, allocations: 51.41 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/1.129, allocations: 121.8 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/1.129, allocations: 29.7 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/1.129, allocations: 96.11 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/1.129, allocations: 23.73 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/1.129, allocations: 37.7 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.129, allocations: 322.8 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/1.129, allocations: 47.95 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/1.13, allocations: 88.25 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/1.13, allocations: 145.8 kB / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.13, allocations: 0 / 1.226 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004461/1.13, allocations: 211.4 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/1.13, allocations: 33.7 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.13, allocations: 7.922 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.13, allocations: 0 / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/1.131, allocations: 15.92 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.131, allocations: 8.125 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/1.131, allocations: 35.95 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/1.131, allocations: 7.984 kB / 1.226 GB, free: 12.93 MB / 0.9512 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001187/1.131, allocations: 128.7 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/1.131, allocations: 11.91 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/1.131, allocations: 4.375 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.131, allocations: 8 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.131, allocations: 64 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/1.131, allocations: 88.95 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/1.131, allocations: 4 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.935e-05/1.131, allocations: 7.984 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/1.131, allocations: 11.92 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003398/1.132, allocations: 192.8 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003436/1.132, allocations: 290.6 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001151/1.132, allocations: 31.97 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.441e-05/1.132, allocations: 99.75 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of Backend: time 5.21e-07/1.132, allocations: 0 / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006625/1.133, allocations: 237.7 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006638/1.133, allocations: 0.6044 MB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of Templates: time 0.004965/1.138, allocations: 1.548 MB / 1.229 GB, free: 9.59 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches