Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.001513/0.001513, 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.002075/0.002075, allocations: 194.5 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.541/2.541, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8854/0.8869, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002389/0.8894, allocations: 0.7517 MB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.891, allocations: 1.151 MB / 0.9514 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.8911, allocations: 0 / 0.9514 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.8912, allocations: 3.938 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.8913, allocations: 10.16 kB / 0.9515 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.8919, allocations: 136.2 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.8921, allocations: 126.2 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.8922, allocations: 14.42 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.8923, allocations: 48.48 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.8925, allocations: 42.58 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.8925, allocations: 14.06 kB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.8926, allocations: 28.83 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.8926, allocations: 7.438 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.8927, allocations: 48.55 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.8929, allocations: 112.3 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8929, allocations: 0 / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.893, allocations: 1.5 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.893, allocations: 0 / 0.952 GB, free: 7.211 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006223/0.8936, allocations: 411.6 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8936, allocations: 13.78 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.8937, allocations: 10.75 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.664e-05/0.8938, allocations: 170.7 kB / 0.9526 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.8938, allocations: 8.391 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.8939, allocations: 14.72 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.8941, allocations: 68.84 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8941, allocations: 1.656 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.8941, allocations: 3.938 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.8941, allocations: 1.125 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.8943, allocations: 52.75 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.8949, allocations: 329.2 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.895, allocations: 62.42 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.8952, allocations: 37.14 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.8952, allocations: 1.312 kB / 0.9532 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.8955, allocations: 87.83 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.003e-06/0.8955, allocations: 0 / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004565/0.8959, allocations: 148 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.896, allocations: 52.69 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.8961, allocations: 120.1 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.8961, allocations: 32.73 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.8962, allocations: 92.22 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.8962, allocations: 17.88 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.8963, allocations: 41.17 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.8963, allocations: 325 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.8965, allocations: 52.39 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.8967, allocations: 79.52 kB / 0.9542 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.8969, allocations: 149.2 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.8969, allocations: 0 / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000439/0.8974, allocations: 217 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.8974, allocations: 35.17 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.8974, allocations: 1.219 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8975, allocations: 2.469 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.8976, allocations: 14.98 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.8976, allocations: 2.531 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.8978, allocations: 39.23 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.8979, allocations: 6.969 kB / 0.9546 GB, free: 4.828 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,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 8.749e-05/0.8979, allocations: 134.8 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.898, allocations: 2.219 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.898, allocations: 10.61 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.898, allocations: 1.219 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.898, allocations: 3.938 kB / 0.9547 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.898, allocations: 0 / 0.9547 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.8984, allocations: 392.8 kB / 0.9551 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8985, allocations: 0 / 0.9551 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.8985, allocations: 17.86 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8985, allocations: 0 / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.8985, allocations: 1.188 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.8986, allocations: 1.188 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8986, allocations: 0 / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.8988, allocations: 212.7 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.8989, allocations: 83.23 kB / 0.9554 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.8989, allocations: 5.453 kB / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.899, allocations: 4.375 kB / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.899, allocations: 14.86 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8991, allocations: 2.875 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.8991, allocations: 91.3 kB / 0.9555 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8991, allocations: 4 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002742/0.8994, allocations: 25.25 kB / 0.9556 GB, free: 3.914 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 (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.0001653/0.8995, allocations: 108.7 kB / 0.9557 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.8999, allocations: 175.9 kB / 0.9558 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9, allocations: 1.438 kB / 0.9558 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.9001, allocations: 42.8 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.9004, allocations: 10.02 kB / 0.9559 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.9008, allocations: 170.3 kB / 0.956 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.9009, allocations: 0.6973 MB / 0.9567 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.901, allocations: 6.656 kB / 0.9567 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.901, allocations: 15.66 kB / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.901, allocations: 0 / 0.9567 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.004686/0.9057, allocations: 1.455 MB / 0.9582 GB, free: 2.059 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches