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.001388/0.001388, allocations: 108.8 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.001551/0.001551, allocations: 192 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.508/1.508, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.899/2.899, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002074/0.002074, allocations: 71.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 168.8 MB / 1.274 GB, free: 4.18 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002047/1.114, allocations: 0.6666 MB / 1.275 GB, free: 3.516 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001757/1.116, allocations: 1.19 MB / 1.276 GB, free: 2.312 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/1.116, allocations: 0 / 1.276 GB, free: 2.312 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.745e-05/1.116, allocations: 7.938 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.72e-05/1.116, allocations: 11.86 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007767/1.117, allocations: 215.7 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002642/1.117, allocations: 171.7 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/1.117, allocations: 15.97 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/1.118, allocations: 63.91 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/1.118, allocations: 63.84 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.44e-05/1.118, allocations: 16 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/1.118, allocations: 31.92 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.389e-05/1.118, allocations: 7.984 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 8.232e-05/1.118, allocations: 55.83 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.000233/1.118, allocations: 154 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.118, allocations: 7.938 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.924e-06/1.118, allocations: 0 / 1.277 GB, free: 1.516 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.23e-06/1.118, allocations: 0 / 1.277 GB, free: 1.516 MB / 0.9669 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.0006288/1.119, allocations: 361.5 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.119, allocations: 8.031 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/1.119, allocations: 12.89 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.119, allocations: 114.4 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.119, allocations: 12.36 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.119, allocations: 8.375 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.119, allocations: 54.19 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.119, allocations: 192 / 1.277 GB, free: 0.8828 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.119, allocations: 7.938 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.119, allocations: 0 / 1.277 GB, free: 0.875 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/1.119, allocations: 19.97 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/1.12, allocations: 319.8 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/1.12, allocations: 38.45 kB / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/1.12, allocations: 18.52 kB / 1.278 GB, free: 444 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/1.12, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/1.12, allocations: 75.38 kB / 1.278 GB, free: 356 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.12, allocations: 4 kB / 1.278 GB, free: 352 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.000255/1.12, allocations: 105.5 kB / 1.278 GB, free: 240 kB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/1.12, allocations: 55.41 kB / 1.278 GB, free: 172 kB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.121, allocations: 129.8 kB / 1.278 GB, free: 32 kB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 5.886e-05/1.121, allocations: 29.75 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/1.121, allocations: 92.09 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/1.121, allocations: 11.91 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/1.121, allocations: 49.64 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001488/1.121, allocations: 322.8 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/1.121, allocations: 55.97 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/1.121, allocations: 97.62 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/1.121, allocations: 160 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.121, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004363/1.122, allocations: 268.9 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/1.122, allocations: 71.39 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.122, allocations: 7.938 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.122, allocations: 4 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.367e-05/1.122, allocations: 7.984 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.122, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/1.122, allocations: 55.83 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/1.122, allocations: 16.09 kB / 1.279 GB, free: 14.71 MB / 0.9825 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.0001223/1.123, allocations: 129.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/1.123, allocations: 7.953 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/1.123, allocations: 4.375 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.123, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.123, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.123, allocations: 3.938 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/1.123, allocations: 152.7 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.123, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/1.123, allocations: 8 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.123, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.123, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/1.123, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.123, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/1.123, allocations: 117.3 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/1.123, allocations: 4 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.123, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/1.123, allocations: 7.984 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/1.123, allocations: 8 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.123, allocations: 7.984 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.283e-05/1.123, allocations: 95.16 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.123, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002237/1.123, allocations: 24 kB / 1.28 GB, free: 14.08 MB / 0.9825 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.0001817/1.123, allocations: 115.2 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000371/1.124, allocations: 222.6 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.124, allocations: 0 / 1.28 GB, free: 13.72 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 5.211e-05/1.124, allocations: 19.98 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/1.124, allocations: 19.92 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/1.125, allocations: 162.7 kB / 1.28 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/1.125, allocations: 0.6926 MB / 1.281 GB, free: 12.77 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.762e-05/1.125, allocations: 4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/1.125, allocations: 15.42 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.1e-07/1.125, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB
Notification: Performance of Templates: time 0.005609/1.131, allocations: 1.863 MB / 1.283 GB, free: 10.91 MB / 0.9825 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.497674249112606]