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.0009812/0.0009812, 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.001228/0.001228, allocations: 177 kB / 23.36 MB, free: 1.129 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.9803/0.9803, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.457/2.457, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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 2.895e-06/2.895e-06, allocations: 4 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.217e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.004949/0.004971, allocations: 0.6636 MB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.006391, allocations: 1.244 MB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.006432, allocations: 0 / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.006458, allocations: 3.938 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.006532, allocations: 15.88 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.007042, allocations: 211.4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.007237, allocations: 179.6 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.007308, allocations: 3.984 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.007428, allocations: 95.92 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.007536, allocations: 55.84 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.002e-05/0.007626, allocations: 16 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.007687, allocations: 20 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.007708, allocations: 11.98 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.007765, allocations: 47.89 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.007936, allocations: 143.7 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007938, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.52e-07/0.007938, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.007941, allocations: 0 / 0.8412 GB, free: 11.45 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.003383/0.01132, allocations: 332.1 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01136, allocations: 8.625 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.0114, allocations: 12.92 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.01148, allocations: 117.7 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.01149, allocations: 8.312 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.01152, allocations: 8.375 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.735e-05/0.01158, allocations: 50.17 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01159, allocations: 8.188 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.0116, allocations: 384 / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01161, allocations: 384 / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.519e-05/0.01162, allocations: 7.938 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.01189, allocations: 184.2 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.01194, allocations: 30.58 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.01196, allocations: 12.94 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.01196, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.636e-05/0.01205, allocations: 67.36 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01205, allocations: 4 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001405/0.01219, allocations: 85.52 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.01222, allocations: 55.41 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.0123, allocations: 122.6 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.01232, allocations: 29.7 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.01237, allocations: 92.12 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.01238, allocations: 15.89 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.01245, allocations: 41.67 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01265, allocations: 322.8 kB / 0.8428 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.01273, allocations: 95.38 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.01283, allocations: 123.7 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.01294, allocations: 151.9 kB / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01294, allocations: 0 / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.01318, allocations: 260.3 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.01322, allocations: 67.39 kB / 0.8434 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.01322, allocations: 3.938 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01323, allocations: 8.125 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.256e-05/0.01325, allocations: 0 / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.01325, allocations: 4 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.01342, allocations: 43.91 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.01344, allocations: 8 kB / 0.8435 GB, free: 8.848 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 7.068e-05/0.01351, allocations: 129.7 kB / 0.8436 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.01353, allocations: 4 kB / 0.8436 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.01354, allocations: 12.38 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01355, allocations: 11.94 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01355, allocations: 0 / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01355, allocations: 0 / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.297e-05/0.01362, allocations: 77.86 kB / 0.8437 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.01362, allocations: 0 / 0.8437 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.01363, allocations: 3.984 kB / 0.8437 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01363, allocations: 4 kB / 0.8437 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.01364, allocations: 0 / 0.8437 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01364, allocations: 4.062 kB / 0.8437 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01364, allocations: 3.938 kB / 0.8438 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.661e-05/0.01372, allocations: 89.03 kB / 0.8438 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.01373, allocations: 11.95 kB / 0.8438 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.01374, allocations: 0 / 0.8438 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.01375, allocations: 0 / 0.8438 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.01378, allocations: 11.92 kB / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.01378, allocations: 4 kB / 0.8439 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.641e-05/0.0138, allocations: 16.84 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0138, allocations: 0 / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001905/0.01399, allocations: 28 kB / 0.8439 GB, free: 8.398 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 0.003112/0.0171, allocations: 88.39 kB / 0.844 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.01732, allocations: 255 kB / 0.8442 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01733, allocations: 0 / 0.8442 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.01735, allocations: 24.8 kB / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.01747, allocations: 15.98 kB / 0.8443 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.01771, allocations: 145.2 kB / 0.8444 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.01774, allocations: 59.95 kB / 0.8445 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.01776, allocations: 8.25 kB / 0.8445 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.01788, allocations: 83.28 kB / 0.8446 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.01788, allocations: 0 / 0.8446 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of Templates: time 0.007723/0.0256, allocations: 2.228 MB / 0.8467 GB, free: 5.441 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 -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.384901966899633]