Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.001563/0.001563, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.0019/0.0019, allocations: 181 kB / 24.08 MB, free: 420 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 1.077/1.077, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.932/1.932, allocations: 377.9 MB / 0.6239 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.939e-05, allocations: 6.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001182/0.001201, allocations: 0.6673 MB / 0.8127 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002319, allocations: 1.23 MB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.002364, allocations: 4 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.002388, allocations: 5.625 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.002455, allocations: 19.84 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.002894, allocations: 209 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.003051, allocations: 171.7 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.047e-05/0.003122, allocations: 9.078 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.003224, allocations: 87.94 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.003319, allocations: 59.77 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.003344, allocations: 17.53 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.0034, allocations: 24 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.00342, allocations: 15.97 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.003465, allocations: 47.91 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.003613, allocations: 128.5 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.003615, allocations: 3.938 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003616, allocations: 0.5312 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.003619, allocations: 1.594 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003555/0.003975, allocations: 475.8 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.004012, allocations: 8.031 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.004053, allocations: 12.89 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.004123, allocations: 121.1 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004135, allocations: 4.375 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.004153, allocations: 13.09 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.448e-05/0.004218, allocations: 38.25 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004224, allocations: 0.8438 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.004232, allocations: 4.906 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004237, allocations: 384 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.004253, allocations: 16.61 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.004541, allocations: 308.3 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.004595, allocations: 32.44 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.004609, allocations: 15.77 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.004615, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.49e-05/0.0047, allocations: 86.7 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.004701, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001462/0.004847, allocations: 93.55 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.004872, allocations: 51.41 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.004946, allocations: 188 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.004965, allocations: 29.7 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.005013, allocations: 138.9 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.005024, allocations: 15.89 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.005083, allocations: 55.33 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.005182, allocations: 496.1 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.005256, allocations: 106.5 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.719e-05/0.005343, allocations: 153 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.005441, allocations: 157.7 kB / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.005442, allocations: 0 / 0.8171 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.005689, allocations: 297.4 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.005727, allocations: 75.33 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005732, allocations: 0.5625 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005742, allocations: 0 / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-05/0.005757, allocations: 8.438 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.005761, allocations: 4.547 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.00591, allocations: 40.91 kB / 0.8175 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.005928, allocations: 16.92 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.48e-05/0.006003, allocations: 170.9 kB / 0.8177 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.006014, allocations: 7.953 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.006037, allocations: 16.38 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006039, allocations: 0 / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006043, allocations: 8.047 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006046, allocations: 0 / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.006118, allocations: 109.2 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006119, allocations: 4.516 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-06/0.006125, allocations: 8.75 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006127, allocations: 0 / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.006131, allocations: 0.9375 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006132, allocations: 320 / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.006134, allocations: 3.938 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/0.006231, allocations: 121.6 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.00624, allocations: 7.953 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.006247, allocations: 0 / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.006259, allocations: 4.922 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.006285, allocations: 7.938 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.00629, allocations: 4 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.006327, allocations: 136 kB / 0.8181 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006328, allocations: 0 / 0.8181 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001606/0.006488, allocations: 29.12 kB / 0.8182 GB, free: 10.78 MB / 0.7761 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001066/0.006595, allocations: 104.3 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.006802, allocations: 265.8 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006803, allocations: 1.062 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.006832, allocations: 23.67 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.007001, allocations: 17.83 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.007224, allocations: 163.8 kB / 0.8187 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.007253, allocations: 59.22 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.007275, allocations: 8.578 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.007378, allocations: 103.8 kB / 0.8189 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.007379, allocations: 0 / 0.8189 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of Templates: time 0.003625/0.011, allocations: 2.23 MB / 0.8211 GB, free: 7.785 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.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.22270170180127]