Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00104/0.00104, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001142/0.001142, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.514/2.514, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.744e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001282/0.001299, allocations: 0.704 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.002846, allocations: 1.244 MB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.00289, allocations: 4 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.002917, allocations: 3.938 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.002996, allocations: 15.86 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.003468, allocations: 203.5 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.003651, allocations: 175.7 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.003724, allocations: 11.94 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.003833, allocations: 95.86 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.003936, allocations: 51.89 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.003962, allocations: 20 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.004039, allocations: 20 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.004061, allocations: 15.92 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.004114, allocations: 51.95 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004282, allocations: 135.6 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004284, allocations: 0 / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004284, allocations: 0 / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.004288, allocations: 0 / 0.8413 GB, free: 11.4 MB / 0.8073 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.0003315/0.00462, allocations: 336.1 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.004651, allocations: 8.625 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.004687, allocations: 12.92 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.00476, allocations: 113.8 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.004773, allocations: 12.36 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.004792, allocations: 12.38 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.999e-05/0.004852, allocations: 38.25 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004859, allocations: 192 / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004865, allocations: 384 / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.004871, allocations: 8.312 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.00489, allocations: 15.92 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.005128, allocations: 180.3 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.005175, allocations: 22.58 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.005188, allocations: 12.86 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.005193, allocations: 3.938 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.147e-05/0.005275, allocations: 83.38 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.005275, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001623/0.005438, allocations: 73.59 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.005469, allocations: 59.33 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.005531, allocations: 122.6 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.005554, allocations: 33.7 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.005589, allocations: 88.14 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.005601, allocations: 15.88 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.005659, allocations: 53.67 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.005726, allocations: 314.8 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.005797, allocations: 95.38 kB / 0.843 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.005872, allocations: 127.7 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.005967, allocations: 144 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005969, allocations: 0 / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000182/0.006151, allocations: 264.3 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.00619, allocations: 67.41 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.006197, allocations: 7.922 kB / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006208, allocations: 0 / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.006227, allocations: 7.938 kB / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.00623, allocations: 0 / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.006384, allocations: 39.92 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.006403, allocations: 11.98 kB / 0.8436 GB, free: 8.789 MB / 0.8073 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 6.146e-05/0.006465, allocations: 121.9 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.006475, allocations: 15.97 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.006495, allocations: 12.38 kB / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006497, allocations: 0 / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006498, allocations: 0 / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006501, allocations: 0 / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.736e-05/0.006569, allocations: 77.88 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.00657, allocations: 3.938 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-06/0.006575, allocations: 64 / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006577, allocations: 4 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.006584, allocations: 15.98 kB / 0.8438 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006584, allocations: 0 / 0.8438 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006586, allocations: 3.938 kB / 0.8438 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.787e-05/0.006654, allocations: 85.03 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-06/0.006661, allocations: 3.953 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.00667, allocations: 4 kB / 0.8439 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.00668, allocations: 0 / 0.8439 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.006706, allocations: 11.92 kB / 0.8439 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.00671, allocations: 4 kB / 0.8439 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.584e-05/0.006726, allocations: 20.78 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006726, allocations: 0 / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001325/0.006859, allocations: 32 kB / 0.844 GB, free: 8.336 MB / 0.8073 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 8.571e-05/0.006944, allocations: 84.41 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.007124, allocations: 251 kB / 0.8443 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.007127, allocations: 0 / 0.8443 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.00715, allocations: 24.84 kB / 0.8443 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.007258, allocations: 12.23 kB / 0.8443 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.007467, allocations: 153.2 kB / 0.8445 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.007496, allocations: 63.34 kB / 0.8446 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.728e-05/0.007513, allocations: 4 kB / 0.8446 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.00761, allocations: 83.28 kB / 0.8446 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.007611, allocations: 0 / 0.8446 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of Templates: time 0.003237/0.01085, allocations: 2.231 MB / 0.8468 GB, free: 5.387 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.447240910958499]