Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001406/0.001406, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001436/0.001436, allocations: 186 kB / 20.78 MB, free: 1.547 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.537/1.537, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.927/2.927, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.18, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002153/1.182, allocations: 0.669 MB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001788/1.184, allocations: 1.19 MB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/1.184, allocations: 0.875 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/1.184, allocations: 8.688 kB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/1.184, allocations: 11.86 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/1.185, allocations: 214.2 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000272/1.185, allocations: 174.5 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/1.186, allocations: 7.297 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/1.186, allocations: 68.78 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/1.186, allocations: 70.97 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/1.186, allocations: 15.22 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/1.186, allocations: 30.5 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/1.186, allocations: 8.125 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/1.186, allocations: 56.41 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/1.186, allocations: 157.9 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/1.186, allocations: 0 / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.033e-06/1.186, allocations: 0.875 kB / 1.275 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.124e-06/1.186, allocations: 0 / 1.275 GB, free: 6.281 MB / 0.9981 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.0005478/1.187, allocations: 432.1 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.187, allocations: 13.72 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/1.187, allocations: 11.83 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.187, allocations: 169.6 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/1.187, allocations: 9 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/1.187, allocations: 10.42 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.187, allocations: 52.5 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.187, allocations: 4.953 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.187, allocations: 6.844 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/1.187, allocations: 0 / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/1.187, allocations: 12.89 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/1.188, allocations: 355.1 kB / 1.276 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/1.188, allocations: 38.02 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/1.188, allocations: 14.88 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/1.188, allocations: 0.75 kB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/1.188, allocations: 83.31 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.188, allocations: 1 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002763/1.188, allocations: 107.3 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/1.188, allocations: 53.12 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/1.188, allocations: 114 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.189, allocations: 30.08 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/1.189, allocations: 95.12 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/1.189, allocations: 15.27 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/1.189, allocations: 57.06 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/1.189, allocations: 323.1 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/1.189, allocations: 54.73 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/1.189, allocations: 101.5 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/1.189, allocations: 162 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.189, allocations: 3.938 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004386/1.19, allocations: 268.6 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/1.19, allocations: 68.8 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.19, allocations: 1.562 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.19, allocations: 2.688 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/1.19, allocations: 2.219 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.19, allocations: 8.172 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/1.19, allocations: 53.45 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/1.19, allocations: 13 kB / 1.277 GB, free: 3.992 MB / 0.9981 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 9.506e-05/1.19, allocations: 130.6 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/1.19, allocations: 8.016 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/1.19, allocations: 14.16 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.19, allocations: 0.75 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.19, allocations: 2.078 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.19, allocations: 0 / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/1.19, allocations: 174 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.19, allocations: 3.188 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-06/1.19, allocations: 0.9062 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.19, allocations: 4.875 kB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.19, allocations: 1.031 kB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.19, allocations: 1 kB / 1.278 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.19, allocations: 8.938 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/1.191, allocations: 112.2 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/1.191, allocations: 79.39 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/1.191, allocations: 1.703 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/1.191, allocations: 8.781 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/1.191, allocations: 5.562 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/1.191, allocations: 5.016 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.791e-05/1.191, allocations: 93.19 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.191, allocations: 0 / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002326/1.191, allocations: 35.53 kB / 1.278 GB, free: 3.359 MB / 0.9981 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.0001627/1.191, allocations: 108 kB / 1.278 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003402/1.192, allocations: 220.6 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.192, allocations: 0 / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/1.192, allocations: 24.56 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.192, allocations: 23.61 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/1.192, allocations: 172.5 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.192, allocations: 0.6862 MB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.783e-05/1.192, allocations: 6.609 kB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/1.192, allocations: 10.16 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.192, allocations: 0 / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of Templates: time 0.006029/1.198, allocations: 1.855 MB / 1.281 GB, free: 2.066 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.655636426992714]