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.001823/0.001823, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002265/0.002265, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.006/3.006, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.112e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001918/0.001949, allocations: 0.6507 MB / 0.8115 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.003853, allocations: 1.206 MB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.003902, allocations: 4.781 kB / 0.8127 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.003935, allocations: 3.938 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.009e-05/0.004025, allocations: 17.55 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.004715, allocations: 205 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.004992, allocations: 175.7 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.00507, allocations: 4 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.005245, allocations: 99.8 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.005385, allocations: 53.03 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.005426, allocations: 16 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-05/0.005519, allocations: 23.98 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.005549, allocations: 17.52 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.005639, allocations: 47.95 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.005931, allocations: 179.5 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005933, allocations: 0 / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.005934, allocations: 0.5 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005938, allocations: 0.7188 kB / 0.8135 GB, free: 15.4 MB / 0.7761 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.0006195/0.006558, allocations: 353.6 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.006597, allocations: 12.56 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.006676, allocations: 14.55 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.006804, allocations: 121.7 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.006824, allocations: 4.375 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.006858, allocations: 8.375 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.006977, allocations: 50.25 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.006985, allocations: 0.6875 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.007003, allocations: 8.938 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.007007, allocations: 384 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.007057, allocations: 20.66 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.007573, allocations: 264.5 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.007673, allocations: 39.72 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.007705, allocations: 12.86 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007717, allocations: 1.375 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.007912, allocations: 87.34 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.007913, allocations: 0 / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003111/0.008224, allocations: 113.6 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.008276, allocations: 53.16 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.008426, allocations: 129.7 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.008469, allocations: 33.7 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.008559, allocations: 88.12 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.00858, allocations: 18.06 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.008691, allocations: 49.69 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.008869, allocations: 318.8 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.009068, allocations: 119.4 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.009292, allocations: 151.7 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.009547, allocations: 166.7 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.00955, allocations: 0 / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005854/0.01013, allocations: 336.2 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.01022, allocations: 68.95 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.01022, allocations: 3.984 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.01025, allocations: 7.938 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/0.01027, allocations: 0 / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01028, allocations: 4.5 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.01065, allocations: 53.47 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.01068, allocations: 14.58 kB / 0.8161 GB, free: 12.45 MB / 0.7761 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.0001453/0.01083, allocations: 119 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.01086, allocations: 15.95 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.01117, allocations: 12.44 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01117, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01117, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01118, allocations: 8.422 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.01134, allocations: 121.3 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01134, allocations: 1.031 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-06/0.01135, allocations: 0 / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.01136, allocations: 8.844 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01136, allocations: 0 / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01137, allocations: 0 / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01137, allocations: 0.8438 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01156, allocations: 113.1 kB / 0.8164 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.01158, allocations: 15.56 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.0116, allocations: 7.938 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.01162, allocations: 0 / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.01167, allocations: 15.92 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.01167, allocations: 0 / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.01175, allocations: 95.2 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01175, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002668/0.01201, allocations: 28 kB / 0.8166 GB, free: 11.85 MB / 0.7761 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.0001983/0.01221, allocations: 99.25 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.01266, allocations: 283.8 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01266, allocations: 0 / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.01272, allocations: 23.98 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01298, allocations: 18.05 kB / 0.817 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.01341, allocations: 169 kB / 0.8172 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.01349, allocations: 68.47 kB / 0.8172 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.01352, allocations: 4 kB / 0.8172 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.01355, allocations: 17.52 kB / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01355, allocations: 0 / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.006061/0.01961, allocations: 2.05 MB / 0.8193 GB, free: 9.117 MB / 0.7761 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/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: 8.18322840007022]