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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 190.2 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.468/3.468, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 69.23 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4874, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002046/0.4895, allocations: 0.6716 MB / 1.308 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.4913, allocations: 1.19 MB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.4914, allocations: 4 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.4914, allocations: 3.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.157e-05/0.4915, allocations: 19.84 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007213/0.4922, allocations: 222.6 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.4925, allocations: 167.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4926, allocations: 7.984 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.4927, allocations: 71.89 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.4929, allocations: 67.78 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.4929, allocations: 16 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.493, allocations: 27.98 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.493, allocations: 7.938 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.4931, allocations: 63.75 kB / 1.31 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.4934, allocations: 151.6 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4934, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4934, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4934, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 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.0006338/0.494, allocations: 361.5 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4941, allocations: 8.922 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.4941, allocations: 12.89 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.4942, allocations: 118.5 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.4943, allocations: 8.312 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.4943, allocations: 8.375 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4944, allocations: 58.19 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4944, allocations: 192 / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4945, allocations: 7.922 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4945, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.4945, allocations: 16 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.4951, allocations: 323.8 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.4952, allocations: 38.5 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.4952, allocations: 16.8 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.4952, allocations: 0 / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.4954, allocations: 75.47 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.4954, allocations: 0 / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0003262/0.4957, allocations: 109.6 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4958, allocations: 59.33 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4959, allocations: 117.8 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.4959, allocations: 29.7 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.496, allocations: 92.09 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.496, allocations: 15.89 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.4961, allocations: 54.06 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002931/0.4964, allocations: 318.8 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4965, allocations: 55.97 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4967, allocations: 100.2 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.497, allocations: 159.6 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.497, allocations: 0 / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005071/0.4975, allocations: 272.8 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.4975, allocations: 71.39 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4975, allocations: 0 / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4976, allocations: 0 / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.526e-05/0.4976, allocations: 12.06 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4976, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4979, allocations: 47.94 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.498, allocations: 19.98 kB / 1.312 GB, free: 12.29 MB / 1.014 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.0001329/0.4981, allocations: 132.6 kB / 1.312 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.4981, allocations: 7.953 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.4981, allocations: 16.31 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4981, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4981, allocations: 0 / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4981, allocations: 3.984 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.4983, allocations: 144.7 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4983, allocations: 0 / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.4983, allocations: 7.938 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.4983, allocations: 0 / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4983, allocations: 0 / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4983, allocations: 0 / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4983, allocations: 12.05 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.4985, allocations: 109 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.4985, allocations: 7.984 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4985, allocations: 96 / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.4985, allocations: 7.938 kB / 1.313 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.4986, allocations: 7.984 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4986, allocations: 4 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.4987, allocations: 99.2 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4987, allocations: 0 / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002343/0.4989, allocations: 31.95 kB / 1.313 GB, free: 11.64 MB / 1.014 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,nor1.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.000158/0.4991, allocations: 99.23 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.4994, allocations: 222.6 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4994, allocations: 0 / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4995, allocations: 20.38 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.4998, allocations: 25.47 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.5001, allocations: 162.7 kB / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.5005, allocations: 0.6856 MB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.5006, allocations: 7.984 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.5006, allocations: 7.438 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.5006, allocations: 4 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of Templates: time 0.005298/0.5059, allocations: 1.868 MB / 1.316 GB, free: 8.488 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins/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.878393854014575]