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.000947/0.000947, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001042/0.001042, allocations: 169 kB / 24.28 MB, free: 276 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.9593/0.9593, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.849/1.849, allocations: 377.9 MB / 0.6239 GB, free: 8.543 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 1.774e-06/1.774e-06, allocations: 0 / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.797e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001151/0.001169, allocations: 0.6631 MB / 0.8122 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.002314, allocations: 1.233 MB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.002358, allocations: 0.7812 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002384, allocations: 7.938 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.00245, allocations: 17.53 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.002895, allocations: 209 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003069, allocations: 171.7 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.003159, allocations: 11.94 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003264, allocations: 91.88 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.003358, allocations: 48.41 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.003384, allocations: 17.38 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.003441, allocations: 31.97 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.003461, allocations: 7.938 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.003518, allocations: 51.94 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.00368, allocations: 137.4 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003682, allocations: 0 / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.82e-07/0.003682, allocations: 0 / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.003686, allocations: 0 / 0.8142 GB, free: 15.36 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.0003919/0.004078, allocations: 464.6 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.004112, allocations: 12.03 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.004166, allocations: 13.61 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.004245, allocations: 116.5 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.004261, allocations: 8.938 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.004281, allocations: 12.36 kB / 0.8148 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.00436, allocations: 43.62 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004367, allocations: 192 / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.004375, allocations: 384 / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.004384, allocations: 8.312 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.004407, allocations: 14.48 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.00475, allocations: 331.7 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.004814, allocations: 31.06 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.004835, allocations: 19.77 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.00484, allocations: 0 / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.514e-05/0.004935, allocations: 89.38 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.004936, allocations: 0 / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001896/0.005126, allocations: 94.33 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.005158, allocations: 59.34 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.005241, allocations: 182.4 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.005261, allocations: 31.33 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.005313, allocations: 138.9 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.005327, allocations: 19.89 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.005386, allocations: 51.34 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.005558, allocations: 0.489 MB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.005662, allocations: 111.4 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.005773, allocations: 154.4 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.005891, allocations: 163.7 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005892, allocations: 4 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/0.006178, allocations: 317.9 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.006213, allocations: 71.33 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.006219, allocations: 4 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.006229, allocations: 1.125 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.76e-05/0.006247, allocations: 12.05 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.006252, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.006409, allocations: 39.03 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.00643, allocations: 15.98 kB / 0.8172 GB, free: 11.97 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.205e-05/0.006502, allocations: 168.5 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.006513, allocations: 11.89 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.006532, allocations: 8.422 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.006535, allocations: 10.75 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006537, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006541, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.285e-05/0.006613, allocations: 128.6 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006614, allocations: 0 / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-06/0.006619, allocations: 4 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.00662, allocations: 0 / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.006628, allocations: 7.922 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006629, allocations: 1.562 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.00663, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.956e-05/0.00673, allocations: 120.4 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.006737, allocations: 11.88 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.006749, allocations: 8.562 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.006761, allocations: 0.5625 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.006795, allocations: 11.92 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.0068, allocations: 4.562 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.006839, allocations: 137 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006839, allocations: 0 / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001607/0.007, allocations: 28 kB / 0.8178 GB, free: 11.26 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 9.822e-05/0.007098, allocations: 99.23 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.007331, allocations: 275.1 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007332, allocations: 0 / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.007363, allocations: 32.75 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.007521, allocations: 17.39 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.007762, allocations: 159.5 kB / 0.8183 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.007793, allocations: 66.95 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.007812, allocations: 8 kB / 0.8184 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.007828, allocations: 8.5 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.007829, allocations: 0 / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.003247/0.01108, allocations: 2.066 MB / 0.8204 GB, free: 8.52 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.12155486503616]