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.001613/0.001613, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002096/0.002096, allocations: 216.1 kB / 23 MB, free: 4.969 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.436/3.436, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 69.02 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4099, allocations: 176.1 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002159/0.4121, allocations: 0.6443 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.4139, allocations: 1.206 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.4139, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.414, allocations: 3.938 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.456e-05/0.4141, allocations: 23.84 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.4148, allocations: 210 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.4151, allocations: 171.7 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4152, allocations: 15.98 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.4153, allocations: 71.88 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4154, allocations: 63.86 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.4155, allocations: 19.92 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.4156, allocations: 28 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.4156, allocations: 7.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.4157, allocations: 51.91 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.416, allocations: 159.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.416, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.416, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.416, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 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.0006144/0.4166, allocations: 365.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.4166, allocations: 8.031 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.4167, allocations: 8.938 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.4168, allocations: 114.5 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4168, allocations: 4.375 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.4169, allocations: 12.36 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.417, allocations: 46.25 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.417, allocations: 4.188 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.417, allocations: 7.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.417, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.4171, allocations: 19.92 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.4176, allocations: 268.5 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/0.4177, allocations: 34.52 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.4177, allocations: 24.88 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.4177, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.4179, allocations: 79.27 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4179, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000275/0.4182, allocations: 109.6 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4182, allocations: 51.41 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4183, allocations: 125.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4184, allocations: 29.7 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.4184, allocations: 92.12 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4185, allocations: 15.91 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4186, allocations: 49.62 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4187, allocations: 322.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.4189, allocations: 115.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4191, allocations: 155.7 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4193, allocations: 159.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4193, allocations: 3.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005076/0.4198, allocations: 328.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.4199, allocations: 69.42 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4199, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4199, allocations: 8.062 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.532e-05/0.42, allocations: 7.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.42, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.4203, allocations: 51.89 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.4204, allocations: 11.98 kB / 1.332 GB, free: 11.24 MB / 1.029 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.0001208/0.4205, allocations: 129.7 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.4205, allocations: 7.984 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.4205, allocations: 12.38 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4205, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4205, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.4205, allocations: 4.016 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4206, allocations: 12 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.4206, allocations: 3.984 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.4206, allocations: 11.92 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001823/0.4208, allocations: 160.9 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002075/0.421, allocations: 250.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.17e-05/0.4211, allocations: 19.98 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.4211, allocations: 95.27 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of Backend: time 6.11e-07/0.4211, allocations: 3.938 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.4218, allocations: 340.5 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006571/0.4225, allocations: 0.6027 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of Templates: time 0.005368/0.4278, allocations: 2.171 MB / 1.336 GB, free: 7.359 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.545468538999557]