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.0009844/0.0009844, 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.0009638/0.0009638, 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.9678/0.9678, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.844/1.844, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.354e-06/2.354e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.784e-05, allocations: 3.156 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001602/0.00163, allocations: 0.6704 MB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003023, allocations: 1.229 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.003072, allocations: 5.25 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.003108, allocations: 3.938 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.003191, allocations: 11.92 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.003806, allocations: 209.9 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.004021, allocations: 171.7 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.004128, allocations: 13.06 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.00428, allocations: 91.88 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.004401, allocations: 55.84 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.004703, allocations: 17.53 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.00478, allocations: 31.86 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.004804, allocations: 11.98 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.004875, allocations: 47.95 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.005072, allocations: 133.2 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005074, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.263e-06/0.005076, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.00508, allocations: 0 / 0.8142 GB, free: 15.03 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.0004515/0.005532, allocations: 477.3 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.005567, allocations: 8.031 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.005627, allocations: 12.89 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.005712, allocations: 112.6 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005727, allocations: 5.438 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.005751, allocations: 8.375 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.005838, allocations: 46.23 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.005846, allocations: 4.703 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005856, allocations: 4.906 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.005864, allocations: 384 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.005892, allocations: 24.77 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.006279, allocations: 327.7 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.006352, allocations: 35.78 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.006375, allocations: 15.77 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.006382, allocations: 0.5312 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.006487, allocations: 86.28 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.006489, allocations: 0 / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002092/0.006698, allocations: 97.84 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.006732, allocations: 56.56 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.006821, allocations: 177.9 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.006846, allocations: 33.7 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.006905, allocations: 139.8 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.006919, allocations: 15.84 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.007, allocations: 59.33 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.007117, allocations: 497 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.007242, allocations: 111.4 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.007377, allocations: 162.7 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.007523, allocations: 159.9 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007526, allocations: 0 / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003585/0.007884, allocations: 317 kB / 0.817 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.007928, allocations: 74.05 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.007933, allocations: 0.875 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.007947, allocations: 0 / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.957e-05/0.007967, allocations: 9.5 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.007974, allocations: 3.984 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.008171, allocations: 41.12 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.008197, allocations: 11.98 kB / 0.8172 GB, free: 11.64 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 9.53e-05/0.008292, allocations: 171.7 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.00831, allocations: 11.89 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.008336, allocations: 12.44 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.00834, allocations: 3.984 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008344, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008347, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/0.008444, allocations: 132.7 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.008446, allocations: 4 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-06/0.008454, allocations: 3.938 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008456, allocations: 4.438 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.008466, allocations: 5.875 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.008469, allocations: 4 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.008471, allocations: 3.984 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.008604, allocations: 112.4 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.008611, allocations: 3.953 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.008625, allocations: 13.03 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.008636, allocations: 0 / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.008673, allocations: 7.984 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.008679, allocations: 0.6562 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.008723, allocations: 135.2 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008723, allocations: 2.438 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001568/0.00888, allocations: 28 kB / 0.8178 GB, free: 10.94 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.000132/0.009012, allocations: 107.1 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.009275, allocations: 280.8 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009277, allocations: 0 / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.00931, allocations: 27.67 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.009492, allocations: 12.73 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.009799, allocations: 162.1 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.009841, allocations: 72.05 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.009868, allocations: 4 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.00989, allocations: 13.56 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.00989, allocations: 0 / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.004539/0.01443, allocations: 2.25 MB / 0.8207 GB, free: 8.008 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: 4.9733286439441144]