Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009804/0.0009804, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9402/0.9402, allocations: 177.1 MB / 204.2 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.877/1.877, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.546e-06/3.546e-06, allocations: 0 / 0.7871 GB, free: 11.35 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/3.968e-05, allocations: 5.641 kB / 0.7871 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002772/0.002812, allocations: 0.7487 MB / 0.7878 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.004745, allocations: 1.198 MB / 0.789 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.004814, allocations: 0.8438 kB / 0.789 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.004857, allocations: 7.875 kB / 0.789 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.004958, allocations: 8.609 kB / 0.789 GB, free: 9.387 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.005638, allocations: 137.7 kB / 0.7892 GB, free: 9.254 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.005879, allocations: 123.7 kB / 0.7893 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.006011, allocations: 19.92 kB / 0.7893 GB, free: 9.113 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.006195, allocations: 67.88 kB / 0.7894 GB, free: 9.047 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.006319, allocations: 33.36 kB / 0.7894 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.006357, allocations: 12 kB / 0.7894 GB, free: 9.004 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.006442, allocations: 23.98 kB / 0.7894 GB, free: 8.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.00648, allocations: 15.92 kB / 0.7894 GB, free: 8.965 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.006551, allocations: 32.53 kB / 0.7895 GB, free: 8.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.006809, allocations: 97.11 kB / 0.7896 GB, free: 8.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.006814, allocations: 0 / 0.7896 GB, free: 8.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006816, allocations: 0 / 0.7896 GB, free: 8.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.006823, allocations: 0 / 0.7896 GB, free: 8.84 MB / 0.698 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.0007073/0.00753, allocations: 438.7 kB / 0.79 GB, free: 8.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.007597, allocations: 12.03 kB / 0.79 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.007689, allocations: 18.36 kB / 0.79 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.007821, allocations: 116.5 kB / 0.7901 GB, free: 8.199 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.007847, allocations: 4.375 kB / 0.7901 GB, free: 8.195 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.007881, allocations: 4.375 kB / 0.7901 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.008094, allocations: 71.42 kB / 0.7902 GB, free: 8.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.008108, allocations: 5.328 kB / 0.7902 GB, free: 8.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.008123, allocations: 4.375 kB / 0.7902 GB, free: 8.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.008134, allocations: 384 / 0.7902 GB, free: 8.105 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.008196, allocations: 20.83 kB / 0.7902 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.008805, allocations: 319.7 kB / 0.7905 GB, free: 7.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.008961, allocations: 51.8 kB / 0.7906 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.009001, allocations: 14.16 kB / 0.7906 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.009011, allocations: 0 / 0.7906 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.009167, allocations: 77.09 kB / 0.7907 GB, free: 7.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.009169, allocations: 4 kB / 0.7907 GB, free: 7.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002987/0.009468, allocations: 93.62 kB / 0.7908 GB, free: 7.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.009513, allocations: 55.34 kB / 0.7908 GB, free: 7.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.009638, allocations: 179.7 kB / 0.791 GB, free: 7.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.00967, allocations: 29.7 kB / 0.791 GB, free: 7.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.009768, allocations: 146.9 kB / 0.7912 GB, free: 7.027 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.009803, allocations: 19.83 kB / 0.7912 GB, free: 7.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.009895, allocations: 43.36 kB / 0.7912 GB, free: 6.957 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.01007, allocations: 0.4929 MB / 0.7917 GB, free: 6.453 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.0102, allocations: 58.19 kB / 0.7918 GB, free: 6.391 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.01033, allocations: 108.1 kB / 0.7919 GB, free: 6.258 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.01052, allocations: 126.6 kB / 0.792 GB, free: 6.109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01052, allocations: 0 / 0.792 GB, free: 6.109 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003746/0.01089, allocations: 210.2 kB / 0.7922 GB, free: 5.887 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.01094, allocations: 37.64 kB / 0.7922 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01095, allocations: 0 / 0.7922 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.01097, allocations: 5.75 kB / 0.7922 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01109, allocations: 11.98 kB / 0.7922 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.0111, allocations: 3.938 kB / 0.7922 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.01125, allocations: 29.28 kB / 0.7923 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.01128, allocations: 11.98 kB / 0.7923 GB, free: 5.785 MB / 0.698 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.0001198/0.0114, allocations: 161.1 kB / 0.7924 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.01143, allocations: 15.89 kB / 0.7924 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.01146, allocations: 8.969 kB / 0.7925 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01147, allocations: 1.938 kB / 0.7925 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01147, allocations: 0 / 0.7925 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.01148, allocations: 3.984 kB / 0.7925 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.01186, allocations: 345.3 kB / 0.7928 GB, free: 5.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.01187, allocations: 4.047 kB / 0.7928 GB, free: 5.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.01193, allocations: 10.59 kB / 0.7928 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.01193, allocations: 0 / 0.7928 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01194, allocations: 0 / 0.7928 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01194, allocations: 0 / 0.7928 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.01195, allocations: 0 / 0.7928 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.01217, allocations: 243.7 kB / 0.793 GB, free: 4.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01218, allocations: 7.953 kB / 0.793 GB, free: 4.934 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.01221, allocations: 4.531 kB / 0.793 GB, free: 4.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.0123, allocations: 8.703 kB / 0.7931 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.01235, allocations: 7.984 kB / 0.7931 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01236, allocations: 4.531 kB / 0.7931 GB, free: 4.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.117e-05/0.01244, allocations: 135.7 kB / 0.7932 GB, free: 4.777 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01244, allocations: 5.656 kB / 0.7932 GB, free: 4.773 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003231/0.01276, allocations: 24 kB / 0.7932 GB, free: 4.75 MB / 0.698 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.0001867/0.01295, allocations: 96.16 kB / 0.7933 GB, free: 4.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01325, allocations: 169.9 kB / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01325, allocations: 0 / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.01331, allocations: 36.83 kB / 0.7935 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.01365, allocations: 26.27 kB / 0.7935 GB, free: 4.398 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.01409, allocations: 155.5 kB / 0.7937 GB, free: 4.219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.01414, allocations: 60.62 kB / 0.7937 GB, free: 4.141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.322e-05/0.01419, allocations: 7.984 kB / 0.7938 GB, free: 4.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.01422, allocations: 13.75 kB / 0.7938 GB, free: 4.121 MB / 0.698 GB Notification: Performance of SimCode: time 6.82e-07/0.01422, allocations: 0 / 0.7938 GB, free: 4.121 MB / 0.698 GB Notification: Performance of Templates: time 0.005156/0.01938, allocations: 1.582 MB / 0.7953 GB, free: 2.602 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.333379364106804]