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.001028/0.001028, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009771/0.0009771, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9969/0.9969, allocations: 177.1 MB / 204.2 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.94/1.94, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.747e-05, allocations: 7.125 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001353/0.00138, allocations: 0.6564 MB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.002692, allocations: 1.245 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.002741, allocations: 4.906 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.002777, allocations: 7.922 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.00285, allocations: 4.594 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.003412, allocations: 212.7 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.003633, allocations: 173.5 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003733, allocations: 8 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.003852, allocations: 99.84 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.00396, allocations: 47.91 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.00399, allocations: 17.12 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.004057, allocations: 24 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.00408, allocations: 11.92 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.004147, allocations: 52.55 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004329, allocations: 136.2 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004331, allocations: 0 / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.004332, allocations: 1.25 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.004337, allocations: 0 / 0.8142 GB, free: 15.02 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.0004765/0.004814, allocations: 459.9 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.004857, allocations: 14.25 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.004918, allocations: 12.89 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.005025, allocations: 128.4 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.005044, allocations: 8.375 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.005069, allocations: 8.375 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.005164, allocations: 42.25 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005176, allocations: 0.9375 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.005187, allocations: 8.359 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.005198, allocations: 5.016 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.005222, allocations: 7.938 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.005632, allocations: 328.4 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.994e-05/0.005702, allocations: 35.58 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.005725, allocations: 13.09 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.005731, allocations: 0 / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.914e-05/0.00583, allocations: 92.98 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.005831, allocations: 3.938 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001946/0.006026, allocations: 99.14 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.006059, allocations: 51.41 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.00615, allocations: 177.9 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.006172, allocations: 29.7 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.006231, allocations: 140.7 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.006247, allocations: 19.84 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.006313, allocations: 55.34 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.006428, allocations: 0.4884 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.006546, allocations: 107.3 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.006666, allocations: 163 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.006794, allocations: 163.2 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006796, allocations: 0 / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003041/0.0071, allocations: 321.2 kB / 0.817 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.007145, allocations: 74.58 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.00715, allocations: 0.875 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.007168, allocations: 0 / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.847e-05/0.007186, allocations: 8 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.007193, allocations: 4.812 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.007364, allocations: 41.86 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.007384, allocations: 8 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.359e-05/0.007478, allocations: 170.8 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.007493, allocations: 17.14 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.007521, allocations: 8.438 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.007524, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007527, allocations: 0.9062 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007531, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.007614, allocations: 128.6 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.007618, allocations: 8.828 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.007623, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007625, allocations: 1.312 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.007633, allocations: 3.938 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007635, allocations: 7.938 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007636, allocations: 0.5 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.007747, allocations: 116.4 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.007754, allocations: 4.672 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.007767, allocations: 11.88 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.007779, allocations: 1.719 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.007818, allocations: 11.98 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.007823, allocations: 0 / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.007863, allocations: 131.2 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007863, allocations: 0.875 kB / 0.8178 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001634/0.008027, allocations: 35.94 kB / 0.8178 GB, free: 10.93 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.000108/0.008135, allocations: 106.6 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.0084, allocations: 281.8 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008402, allocations: 0 / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.008433, 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.0001753/0.008609, allocations: 17.23 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.008882, allocations: 151.8 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.00892, allocations: 63.22 kB / 0.8184 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.265e-05/0.008943, allocations: 9.078 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.008962, allocations: 12.5 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.008963, allocations: 0 / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.003667/0.01263, allocations: 2.065 MB / 0.8205 GB, free: 8.199 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.329354487359524]