Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001785/0.001785, allocations: 188.2 kB / 16.13 MB, free: 6.645 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.691/0.6922, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002735/0.695, allocations: 0.8234 MB / 1.017 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.697, allocations: 1.156 MB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.697, allocations: 3.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.6971, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.802e-05/0.6972, allocations: 15.88 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.6979, allocations: 116.7 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.6981, allocations: 103.8 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.6982, allocations: 15.97 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.6983, allocations: 39.91 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.6984, allocations: 39.83 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.6985, allocations: 4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.6986, allocations: 35.91 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.6986, allocations: 7.984 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.6987, allocations: 43.78 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.6989, allocations: 107.7 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6989, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.699, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.699, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 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.0008172/0.6998, allocations: 411 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.6998, allocations: 8.031 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.6999, allocations: 16.84 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.7001, allocations: 180.2 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.7001, allocations: 4.375 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.7002, allocations: 8.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.7004, allocations: 70.16 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7004, allocations: 192 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.7004, allocations: 3.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7005, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.7007, allocations: 47.95 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.7014, allocations: 336.6 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.7016, allocations: 62.55 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.7017, allocations: 40.94 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.7018, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.702, allocations: 87.42 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.702, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.7025, allocations: 145.5 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.7026, allocations: 55.34 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7027, allocations: 121.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.7028, allocations: 33.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.7029, allocations: 88.14 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.7029, allocations: 27.72 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.703, allocations: 37.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7032, allocations: 326.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.7034, allocations: 47.97 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.7036, allocations: 87.38 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.7039, allocations: 146.2 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7039, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004804/0.7044, allocations: 215 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.7045, allocations: 43.22 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7045, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.7045, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.7046, allocations: 15.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7046, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.7049, allocations: 39.86 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.7049, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 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.0001233/0.705, allocations: 128 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.7051, allocations: 11.91 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.7051, allocations: 8.359 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7051, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7051, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7051, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.7057, allocations: 386.3 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7057, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.7058, allocations: 11.98 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7058, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.7058, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7058, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7058, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.7061, allocations: 219.3 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.7062, allocations: 77.11 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.7062, allocations: 4 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.7063, allocations: 3.984 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.7064, allocations: 11.92 kB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.7064, allocations: 8 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.7064, allocations: 91.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7064, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002789/0.7067, allocations: 35.84 kB / 1.023 GB, free: 12.26 MB / 0.7794 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0002032/0.7069, allocations: 107.2 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.7073, allocations: 179.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7074, allocations: 3.938 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.7075, allocations: 40.16 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.7078, allocations: 15.98 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.7082, allocations: 168.3 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7085, allocations: 0.6926 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.7086, allocations: 7.859 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.7086, allocations: 11.44 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7086, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.003997/0.7126, allocations: 1.347 MB / 1.025 GB, free: 9.637 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches