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.00205/0.00205, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.002726/0.002726, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.535/1.535, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.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.748/2.748, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002194/1.008, allocations: 0.7571 MB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001626/1.01, allocations: 1.154 MB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/1.01, allocations: 4 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/1.01, allocations: 3.938 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/1.01, allocations: 15.86 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/1.011, allocations: 134.2 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/1.011, allocations: 127.7 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/1.011, allocations: 12 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/1.011, allocations: 43.91 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/1.011, allocations: 51.8 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/1.011, allocations: 19.94 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/1.012, allocations: 23.98 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/1.012, allocations: 11.98 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/1.012, allocations: 47.83 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/1.012, allocations: 107.7 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.012, allocations: 0 / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/1.012, allocations: 0 / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.012, allocations: 0 / 1.17 GB, free: 1.344 MB / 0.8887 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.0006734/1.013, allocations: 414.7 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.013, allocations: 12.03 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/1.013, allocations: 12.83 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/1.013, allocations: 168.3 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/1.013, allocations: 12.25 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/1.013, allocations: 12.38 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/1.013, allocations: 62.22 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.013, allocations: 4.125 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.013, allocations: 7.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.013, allocations: 0 / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/1.013, allocations: 47.95 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/1.014, allocations: 344.6 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/1.014, allocations: 54.61 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/1.014, allocations: 40.95 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/1.014, allocations: 0 / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/1.014, allocations: 87.3 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/1.014, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004834/1.015, allocations: 141.5 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.015, allocations: 55.47 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.015, allocations: 125.8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/1.015, allocations: 29.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/1.015, allocations: 92.05 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.015, allocations: 19.75 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/1.015, allocations: 41.69 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.015, allocations: 314.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/1.016, allocations: 55.95 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/1.016, allocations: 89.44 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/1.016, allocations: 145.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.016, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004362/1.017, allocations: 211.5 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/1.017, allocations: 40.34 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.017, allocations: 4.125 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.017, allocations: 3.938 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.017, allocations: 19.92 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.017, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.017, allocations: 27.97 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/1.017, allocations: 7.984 kB / 1.172 GB, free: 14.42 MB / 0.9044 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.0001106/1.017, allocations: 131.8 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/1.017, allocations: 7.906 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/1.017, allocations: 8.375 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.017, allocations: 3.984 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.017, allocations: 4 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/1.017, allocations: 92.88 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.017, allocations: 0 / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/1.017, allocations: 4 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/1.017, allocations: 11.92 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003351/1.018, allocations: 196.9 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003323/1.018, allocations: 274.8 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001119/1.018, allocations: 39.91 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.89e-05/1.018, allocations: 99.2 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of Backend: time 6.61e-07/1.018, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006205/1.019, allocations: 225.7 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006234/1.02, allocations: 0.6082 MB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.004629/1.024, allocations: 1.55 MB / 1.176 GB, free: 11.08 MB / 0.9044 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/jenkins1/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