Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001965/0.001965, allocations: 95.92 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.002079/0.002079, allocations: 215.2 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [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.00209/0.00209, allocations: 64.16 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3857, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002059/0.3877, allocations: 0.6443 MB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3895, allocations: 1.21 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.3896, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.3896, allocations: 3.938 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.3897, allocations: 11.92 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.3904, allocations: 218 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.3906, allocations: 175.7 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.3907, allocations: 12 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3908, allocations: 63.89 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3909, allocations: 67.78 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.391, allocations: 16 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.3911, allocations: 28 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.3911, allocations: 15.97 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.3912, allocations: 51.84 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3914, allocations: 151.6 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3914, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3914, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3914, allocations: 4 kB / 1.33 GB, free: 14.36 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.0005747/0.392, allocations: 361.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.392, allocations: 8.031 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.3921, allocations: 8.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3922, allocations: 114.4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3922, allocations: 12.36 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.3923, allocations: 16.38 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3924, allocations: 42.25 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3924, allocations: 192 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3924, allocations: 3.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3924, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.3925, allocations: 15.98 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.3929, allocations: 272.5 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.393, allocations: 34.45 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.393, allocations: 20.88 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3931, allocations: 7.922 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.3933, allocations: 87.31 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3933, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002774/0.3935, allocations: 105.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3936, allocations: 55.41 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3937, allocations: 121.8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3937, allocations: 29.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.3938, allocations: 92.14 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3938, allocations: 19.88 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3939, allocations: 49.69 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3941, allocations: 310.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3942, allocations: 123.4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.3944, allocations: 159.6 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3946, allocations: 159.6 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3947, allocations: 3.938 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004874/0.3951, allocations: 324.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.3952, allocations: 67.39 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3952, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3952, allocations: 7.938 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.1e-05/0.3952, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3953, allocations: 12.05 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.3956, allocations: 60.02 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.3957, allocations: 8 kB / 1.332 GB, free: 11.41 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,nor1.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.0001275/0.3958, allocations: 136 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.3958, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.3958, allocations: 8.375 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3959, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3959, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.3959, allocations: 7.953 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3959, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.441e-05/0.3959, allocations: 7.984 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3959, allocations: 7.938 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001663/0.3961, allocations: 153 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002097/0.3963, allocations: 258.8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.269e-05/0.3964, allocations: 27.98 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.3964, allocations: 95.2 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of Backend: time 4.01e-07/0.3964, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.3971, allocations: 342 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006406/0.3978, allocations: 0.598 MB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of Templates: time 0.005342/0.4031, allocations: 2.173 MB / 1.336 GB, free: 7.523 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.549799424996309]