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.001443/0.001443, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001602/0.001602, allocations: 168.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.502/1.502, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.928/2.928, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.695e-06/2.695e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.683e-05, allocations: 9.031 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002344/0.002381, allocations: 0.6473 MB / 1.001 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.004678, allocations: 1.213 MB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.004747, allocations: 0 / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.004787, allocations: 3.938 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.004892, allocations: 11.92 kB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.005836, allocations: 221.2 kB / 1.002 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.006195, allocations: 171.7 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.00633, allocations: 15.97 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.006578, allocations: 87.94 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.006762, allocations: 55.84 kB / 1.003 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.006824, allocations: 12 kB / 1.003 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.006949, allocations: 27.98 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.006988, allocations: 19.92 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.007128, allocations: 47.89 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.007529, allocations: 179.6 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.007533, allocations: 0 / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007534, allocations: 0 / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.007547, allocations: 0 / 1.003 GB, free: 4.582 MB / 0.9512 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.0007852/0.008332, allocations: 361.6 kB / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.008378, allocations: 8.031 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.008484, allocations: 20.83 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.008638, allocations: 113.7 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.00866, allocations: 12.31 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.008704, allocations: 12.36 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.00885, allocations: 50.25 kB / 1.003 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.008863, allocations: 4.125 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.008874, allocations: 384 / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.00888, allocations: 384 / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.008936, allocations: 19.92 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.009474, allocations: 264.5 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.009573, allocations: 34.56 kB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.009606, allocations: 16.94 kB / 1.004 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.009613, allocations: 3.938 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.009819, allocations: 91.27 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.009821, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003083/0.01013, allocations: 97.66 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.01019, allocations: 59.34 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.01031, allocations: 121.8 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.01035, allocations: 29.7 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.01044, allocations: 88.14 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.01046, allocations: 19.84 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.01058, allocations: 49.69 kB / 1.004 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.01077, allocations: 318.8 kB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.01097, allocations: 127.4 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.0112, allocations: 147.7 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.01145, allocations: 160.1 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01145, allocations: 0 / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005592/0.01201, allocations: 336.1 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.743e-05/0.01209, allocations: 75.52 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.0121, allocations: 0 / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.01212, allocations: 0 / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.01215, allocations: 7.938 kB / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.01216, allocations: 0 / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.01254, allocations: 52 kB / 1.005 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.01259, allocations: 15.98 kB / 1.005 GB, free: 1.629 MB / 0.9512 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 0.0001476/0.01273, allocations: 129.8 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.01277, allocations: 15.88 kB / 1.006 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.0128, allocations: 4.438 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01281, allocations: 0 / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.01281, allocations: 0 / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01282, allocations: 0 / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01297, allocations: 117.3 kB / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01298, allocations: 0 / 1.006 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.01299, allocations: 3.938 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.013, allocations: 11.92 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01301, allocations: 0 / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01302, allocations: 4 kB / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01302, allocations: 0 / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.01323, allocations: 109.1 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.01325, allocations: 11.89 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.01327, allocations: 3.938 kB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.0133, allocations: 4 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.01336, allocations: 7.984 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01337, allocations: 4 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.01344, allocations: 91.27 kB / 1.006 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01344, allocations: 288 / 1.006 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002697/0.01371, allocations: 35.94 kB / 1.006 GB, free: 1.027 MB / 0.9512 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.0002153/0.01392, allocations: 111.2 kB / 1.006 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.01437, allocations: 278.4 kB / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01437, allocations: 0 / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.01442, allocations: 19.98 kB / 1.006 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01467, allocations: 20.12 kB / 1.006 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.01506, allocations: 157.8 kB / 1.006 GB, free: 384 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.27e-05/0.01513, allocations: 71.28 kB / 1.007 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.01516, allocations: 11.84 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.01518, allocations: 12.5 kB / 1.007 GB, free: 268 kB / 0.9512 GB Notification: Performance of SimCode: time 7.21e-07/0.01519, allocations: 0 / 1.007 GB, free: 268 kB / 0.9512 GB Notification: Performance of Templates: time 0.005353/0.02054, allocations: 2.024 MB / 1.009 GB, free: 14.28 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.523663088679314]