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.0008073/0.0008073, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001923, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007087/0.0007087, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009258/0.001634, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9064/0.9064, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09222/0.9986, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.4/2.4, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2384/2.638, allocations: 146 MB / 0.8176 GB, free: 3.785 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.182e-06/1.182e-06, allocations: 0 / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.631e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00115/0.001166, allocations: 0.6923 MB / 0.8196 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.002146, allocations: 1.244 MB / 0.8208 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.002177, allocations: 0 / 0.8208 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.002195, allocations: 3.938 kB / 0.8208 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.002229, allocations: 15.86 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.002581, allocations: 215.4 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.002742, allocations: 163.8 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.002802, allocations: 8 kB / 0.8212 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.002912, allocations: 103.8 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.003002, allocations: 55.84 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.003029, allocations: 12 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.003105, allocations: 39.92 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.003126, allocations: 4 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.003172, allocations: 35.94 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.003324, allocations: 99.78 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.003335, allocations: 3.984 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003336, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.003347, allocations: 0 / 0.8216 GB, free: 15.74 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.0004168/0.003763, allocations: 347.8 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.003797, allocations: 12.03 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.003841, allocations: 16.86 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.487e-05/0.003925, allocations: 113.7 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.003939, allocations: 12.36 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.00396, allocations: 12.31 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.004035, allocations: 42.25 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004042, allocations: 192 / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.004048, allocations: 384 / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.004053, allocations: 384 / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.00407, allocations: 15.92 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.004335, allocations: 180.3 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.004394, allocations: 30.58 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.004409, allocations: 8.859 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.004415, allocations: 4 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-05/0.004512, allocations: 79.39 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.004513, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001284/0.004642, allocations: 81.75 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.004677, allocations: 55.41 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.004746, allocations: 118.7 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.004765, allocations: 29.7 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.004812, allocations: 88.14 kB / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.004827, allocations: 23.81 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.00488, allocations: 45.67 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.004957, allocations: 318.8 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.005028, allocations: 99.38 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.005106, allocations: 142.5 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.0052, allocations: 143.6 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005202, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004949/0.005697, allocations: 264.5 kB / 0.8237 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.005746, allocations: 71.39 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005752, allocations: 3.938 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.005764, allocations: 4 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.005782, allocations: 0 / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.005785, allocations: 4 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.005945, allocations: 43.91 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.005963, allocations: 11.98 kB / 0.8239 GB, free: 13.09 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.56e-05/0.006039, allocations: 125.8 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.00605, allocations: 7.938 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.006074, allocations: 16.36 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006077, allocations: 4 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.00608, allocations: 3.984 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006083, allocations: 0 / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.98e-05/0.006153, allocations: 73.88 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006154, allocations: 0 / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.00616, allocations: 4 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.006168, allocations: 7.891 kB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.006169, allocations: 0 / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.006173, allocations: 8 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.006175, allocations: 3.938 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006176, allocations: 0 / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.006254, allocations: 89.03 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.006263, allocations: 3.984 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.006275, allocations: 0 / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.006304, allocations: 7.938 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.006308, allocations: 3.984 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.742e-05/0.006326, allocations: 17.33 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006326, allocations: 0 / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001336/0.006459, allocations: 28 kB / 0.8243 GB, free: 12.65 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.0001032/0.006562, allocations: 91.06 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.006759, allocations: 266.9 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.006762, allocations: 0 / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.006786, allocations: 20.84 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.006939, allocations: 134 kB / 0.8248 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.007353, allocations: 141.7 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.143e-05/0.007385, allocations: 67.2 kB / 0.825 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2e-05/0.007405, allocations: 4 kB / 0.825 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.007501, allocations: 79.34 kB / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of SimCode: time 3.7e-07/0.007502, allocations: 0 / 0.825 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of Templates: time 0.003453/0.01095, allocations: 2.268 MB / 0.8272 GB, free: 9.52 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.043806290253997]