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.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.0009482/0.0009482, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009871/0.0009871, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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.9577/0.9577, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.174/2.174, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 3.984 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.77e-05, allocations: 4.531 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.004655/0.004673, allocations: 0.7616 MB / 0.8802 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.005911, allocations: 1.189 MB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.005959, allocations: 0.7656 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.005987, allocations: 4.438 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.006062, allocations: 10.08 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.006445, allocations: 135.5 kB / 0.8815 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.006606, allocations: 121 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.006685, allocations: 15.98 kB / 0.8816 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.006792, allocations: 63.94 kB / 0.8817 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.006871, allocations: 39.88 kB / 0.8817 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.006892, allocations: 9.094 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.006947, allocations: 19.98 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.00697, allocations: 15.92 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.007013, allocations: 32.62 kB / 0.8818 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.007153, allocations: 99.69 kB / 0.8819 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.007154, allocations: 3.688 kB / 0.8819 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.42e-07/0.007155, allocations: 0 / 0.8819 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.007158, allocations: 0 / 0.8819 GB, free: 3.547 MB / 0.8386 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.006438/0.0136, allocations: 434.1 kB / 0.8823 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.01363, allocations: 12.02 kB / 0.8823 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.01367, allocations: 12.89 kB / 0.8823 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.01375, allocations: 120.5 kB / 0.8824 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.01377, allocations: 4.375 kB / 0.8824 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.01378, allocations: 12.38 kB / 0.8824 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.01389, allocations: 64.66 kB / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.0139, allocations: 192 / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.01391, allocations: 8.359 kB / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.01392, allocations: 384 / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.01395, allocations: 11.94 kB / 0.8825 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.01427, allocations: 301.3 kB / 0.8828 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/0.01435, allocations: 40.25 kB / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.01438, allocations: 19.8 kB / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.01438, allocations: 1.594 kB / 0.8829 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.385e-05/0.01448, allocations: 76.95 kB / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 5.32e-06/0.01448, allocations: 0 / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001743/0.01466, allocations: 89.56 kB / 0.883 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.01469, allocations: 57.88 kB / 0.8831 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.01477, allocations: 181.8 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01479, allocations: 29.7 kB / 0.8833 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.01485, allocations: 150.7 kB / 0.8834 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.01486, allocations: 15.83 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.01492, allocations: 39.36 kB / 0.8835 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01504, allocations: 0.4962 MB / 0.884 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.01511, allocations: 59.67 kB / 0.884 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.01519, allocations: 108.1 kB / 0.8841 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.01529, allocations: 112.8 kB / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01529, allocations: 0 / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002355/0.01553, allocations: 206.8 kB / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.01556, allocations: 37.64 kB / 0.8845 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01556, allocations: 5.25 kB / 0.8845 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.01557, allocations: 4 kB / 0.8845 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.01563, allocations: 11.98 kB / 0.8845 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01563, allocations: 128 / 0.8845 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01574, allocations: 35.91 kB / 0.8845 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.01576, allocations: 8 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 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.037e-05/0.01584, allocations: 165.9 kB / 0.8847 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.01585, allocations: 7.953 kB / 0.8847 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.01588, allocations: 20.36 kB / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01588, allocations: 0 / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01588, allocations: 0 / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01588, allocations: 0 / 0.8847 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.01611, allocations: 318 kB / 0.885 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01611, allocations: 0 / 0.885 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.01615, allocations: 8.031 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01615, allocations: 3.938 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.01616, allocations: 0 / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01616, allocations: 0 / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01616, allocations: 0 / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01629, allocations: 231.8 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.0163, allocations: 11.89 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.01631, allocations: 0 / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.01637, allocations: 11.98 kB / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.0164, allocations: 11.92 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01641, allocations: 4 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.01645, allocations: 135.2 kB / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01645, allocations: 0 / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002459/0.0167, allocations: 27.94 kB / 0.8854 GB, free: 15.55 MB / 0.8542 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.0001005/0.0168, allocations: 99.23 kB / 0.8855 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.01697, allocations: 160.3 kB / 0.8857 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.01697, allocations: 256 / 0.8857 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.01701, allocations: 31.67 kB / 0.8857 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01724, allocations: 11.98 kB / 0.8857 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.0175, allocations: 170.4 kB / 0.8859 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.01754, allocations: 67.94 kB / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.01757, allocations: 4 kB / 0.886 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.01766, allocations: 90.17 kB / 0.886 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.01766, allocations: 4 kB / 0.886 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.006674/0.02434, allocations: 1.809 MB / 0.8878 GB, free: 13.07 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] 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","",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.8173825978301466]