Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001373/0.001373, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001655/0.001655, allocations: 209.8 kB / 23 MB, free: 4.934 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.325/3.325, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [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.002097/0.002097, allocations: 74.97 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3917, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002046/0.3938, allocations: 0.6036 MB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3954, allocations: 1.128 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.3955, allocations: 8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.3955, allocations: 7.875 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.3956, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.3962, allocations: 123.1 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3963, allocations: 91.75 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3964, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.3965, allocations: 35.97 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3966, allocations: 31.89 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3967, allocations: 12 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.3968, allocations: 27.98 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.3968, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.3968, allocations: 27.92 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.397, allocations: 83.72 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.397, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.786e-05/0.3971, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3971, allocations: 0 / 1.329 GB, free: 14.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005689/0.3976, allocations: 296 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3977, allocations: 12.03 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.3977, allocations: 4.938 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3979, allocations: 106.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3979, allocations: 8.312 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.3979, allocations: 8.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.398, allocations: 34.25 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.398, allocations: 8.188 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3981, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3981, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.3981, allocations: 11.98 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3985, allocations: 220.5 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.3986, allocations: 22.52 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.3986, allocations: 20.86 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3986, allocations: 3.984 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.3988, allocations: 55.41 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3988, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002096/0.399, allocations: 61.61 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.399, allocations: 55.41 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3992, allocations: 105.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3992, allocations: 33.69 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.3992, allocations: 84.12 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.3993, allocations: 11.95 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.3993, allocations: 33.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3995, allocations: 310.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.3996, allocations: 65.61 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3997, allocations: 76.27 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3998, allocations: 84.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3998, allocations: 3.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002969/0.4001, allocations: 181.2 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4001, allocations: 33.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4001, allocations: 8.094 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4002, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.937e-05/0.4002, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4002, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4004, allocations: 31.89 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.4004, allocations: 11.98 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001021/0.4005, allocations: 114.4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.4005, allocations: 7.891 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.4006, allocations: 11.62 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4006, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4006, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.4006, allocations: 3.984 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.4006, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.4006, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.4006, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001521/0.4008, allocations: 132.9 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001888/0.401, allocations: 227.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.23e-05/0.401, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.4011, allocations: 91.27 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.4011, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.4016, allocations: 209.4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006186/0.4022, allocations: 0.5655 MB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of Templates: time 0.004073/0.4063, allocations: 1.208 MB / 1.334 GB, free: 9.934 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.332819332994404]