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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001785/0.001785, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.738/1.738, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.163/3.163, allocations: 482.6 MB / 0.7548 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002186, allocations: 72.16 kB / 0.9241 GB, free: 29.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4195, allocations: 162.3 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002311/0.4219, allocations: 0.7508 MB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.4236, allocations: 1.143 MB / 1.084 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.4237, allocations: 11.88 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.4238, allocations: 3.938 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.4238, allocations: 7.938 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.4244, allocations: 138.9 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.4246, allocations: 123.8 kB / 1.085 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4248, allocations: 19.92 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4249, allocations: 47.89 kB / 1.085 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.425, allocations: 43.81 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.425, allocations: 12 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.4251, allocations: 20 kB / 1.085 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.4251, allocations: 15.92 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.4252, allocations: 47.83 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.4254, allocations: 107.7 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4254, allocations: 0 / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4254, allocations: 0 / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4255, allocations: 0 / 1.085 GB, free: 10.48 MB / 0.8419 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.0007203/0.4262, allocations: 417.2 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4262, allocations: 8.031 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.4263, allocations: 12.78 kB / 1.085 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4265, allocations: 168.3 kB / 1.086 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.4265, allocations: 12.38 kB / 1.086 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.4265, allocations: 8.375 kB / 1.086 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.4267, allocations: 66.22 kB / 1.086 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4268, allocations: 192 / 1.086 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4268, allocations: 3.938 kB / 1.086 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4268, allocations: 3.984 kB / 1.086 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.427, allocations: 39.97 kB / 1.086 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.4276, allocations: 356.5 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.4278, allocations: 58.61 kB / 1.086 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4279, allocations: 28.97 kB / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.4279, allocations: 0 / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.4282, allocations: 95.3 kB / 1.086 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4282, allocations: 0 / 1.086 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.000473/0.4287, allocations: 141.6 kB / 1.086 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.4287, allocations: 59.41 kB / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4288, allocations: 117.8 kB / 1.087 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4289, allocations: 29.7 kB / 1.087 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.429, allocations: 95.98 kB / 1.087 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.429, allocations: 15.8 kB / 1.087 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.4291, allocations: 37.7 kB / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4292, allocations: 326.8 kB / 1.087 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4294, allocations: 51.97 kB / 1.087 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.4296, allocations: 92.19 kB / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.43, allocations: 145.8 kB / 1.087 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.43, allocations: 4 kB / 1.087 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004762/0.4304, allocations: 203.1 kB / 1.087 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.4305, allocations: 41.69 kB / 1.088 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4305, allocations: 128 / 1.088 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4305, allocations: 8 kB / 1.088 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.4306, allocations: 11.98 kB / 1.088 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4307, allocations: 0 / 1.088 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.4309, allocations: 35.89 kB / 1.088 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4309, allocations: 12 kB / 1.088 GB, free: 7.543 MB / 0.8419 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.0001377/0.4311, allocations: 129.7 kB / 1.088 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.4311, allocations: 11.89 kB / 1.088 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.4311, allocations: 12.38 kB / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4311, allocations: 0 / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4312, allocations: 0 / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4312, allocations: 0 / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.4317, allocations: 370.5 kB / 1.088 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4317, allocations: 0 / 1.088 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.4318, allocations: 15.92 kB / 1.088 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4318, allocations: 0 / 1.088 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4318, allocations: 8 kB / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4318, allocations: 0 / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4318, allocations: 0 / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.4322, allocations: 215.7 kB / 1.088 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.4323, allocations: 89.02 kB / 1.088 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4323, allocations: 0 / 1.088 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.4324, allocations: 11.98 kB / 1.088 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.4324, allocations: 11.92 kB / 1.088 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4325, allocations: 4 kB / 1.088 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.4325, allocations: 91.27 kB / 1.089 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4325, allocations: 0 / 1.089 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002737/0.4328, allocations: 24 kB / 1.089 GB, free: 6.465 MB / 0.8419 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.0002258/0.433, allocations: 111.1 kB / 1.089 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.4335, allocations: 179.3 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4335, allocations: 3.938 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.4337, allocations: 39.97 kB / 1.089 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.434, allocations: 26.27 kB / 1.089 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.4345, allocations: 166.3 kB / 1.089 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4349, allocations: 0.6923 MB / 1.09 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.376e-05/0.4349, allocations: 11.78 kB / 1.09 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.435, allocations: 11.44 kB / 1.09 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.435, allocations: 0 / 1.09 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of Templates: time 0.005475/0.4404, allocations: 1.451 MB / 1.091 GB, free: 3.727 MB / 0.8419 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=400 -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/jenkins/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