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.002172/0.002172, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002125/0.002125, allocations: 189.2 kB / 22.11 MB, free: 5.152 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.563/1.563, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.472/3.472, allocations: 495.8 MB / 0.783 GB, free: 33.4 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.002041/0.002041, allocations: 67.61 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4147, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002204/0.4169, allocations: 0.6652 MB / 1.307 GB, free: 1.168 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00188/0.4187, allocations: 1.198 MB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.4188, allocations: 0 / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.4188, allocations: 3.938 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.4189, allocations: 11.91 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.4197, allocations: 225.8 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002756/0.4199, allocations: 163.7 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.42, allocations: 8 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4202, allocations: 71.88 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.4203, allocations: 67.78 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.4204, allocations: 19.94 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.4204, allocations: 28 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.4205, allocations: 7.984 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.46e-05/0.4206, allocations: 59.83 kB / 1.309 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.4208, allocations: 143.6 kB / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4208, allocations: 0 / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.833e-06/0.4208, allocations: 0 / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.153e-06/0.4208, allocations: 4 kB / 1.309 GB, free: 15.16 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.0006705/0.4215, allocations: 361.5 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4216, allocations: 12.03 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.4216, allocations: 8.891 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.4218, allocations: 122.5 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4218, allocations: 12.36 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.4218, allocations: 12.38 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4219, allocations: 42.25 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4219, allocations: 192 / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.422, allocations: 3.938 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.422, allocations: 3.938 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.422, allocations: 19.98 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.4226, allocations: 331.7 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.865e-05/0.4227, allocations: 34.52 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.4227, allocations: 12.94 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.4227, allocations: 0 / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.4229, allocations: 83.31 kB / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4229, allocations: 0 / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0002902/0.4232, allocations: 105.6 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.4233, allocations: 59.39 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4234, allocations: 121.8 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.4234, allocations: 29.7 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.4235, allocations: 92.09 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.4235, allocations: 15.91 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4236, allocations: 49.69 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001414/0.4238, allocations: 318.8 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4239, allocations: 63.97 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.4241, allocations: 99.31 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.4243, allocations: 155.6 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4243, allocations: 4 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004464/0.4248, allocations: 260.9 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.4248, allocations: 67.39 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4248, allocations: 3.984 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4249, allocations: 4 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.4249, allocations: 4.047 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4249, allocations: 8 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.4253, allocations: 56.02 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.4253, allocations: 12 kB / 1.312 GB, free: 12.36 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.000131/0.4254, allocations: 138.4 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4254, allocations: 7.953 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.4255, allocations: 4.375 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.4255, allocations: 0 / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4255, allocations: 8 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4255, allocations: 0 / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4256, allocations: 157.1 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4256, allocations: 3.938 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-06/0.4256, allocations: 0 / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4257, allocations: 0 / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4257, allocations: 4 kB / 1.312 GB, free: 11.99 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4257, allocations: 3.938 kB / 1.312 GB, free: 11.99 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4257, allocations: 0 / 1.312 GB, free: 11.99 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.4258, allocations: 121.2 kB / 1.312 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.4258, allocations: 0 / 1.312 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4259, allocations: 4 kB / 1.312 GB, free: 11.85 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.4259, allocations: 7.984 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4259, allocations: 4 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.4259, allocations: 3.984 kB / 1.312 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.336e-05/0.426, allocations: 87.28 kB / 1.312 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.426, allocations: 0 / 1.312 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000237/0.4262, allocations: 32 kB / 1.312 GB, free: 11.71 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.0001642/0.4264, allocations: 103.2 kB / 1.312 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003521/0.4267, allocations: 218.7 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4267, allocations: 0 / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.4268, allocations: 35.89 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.427, allocations: 16.92 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.4274, allocations: 159 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4277, allocations: 0.6846 MB / 1.314 GB, free: 10.42 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.743e-05/0.4278, allocations: 4 kB / 1.314 GB, free: 10.42 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.4278, allocations: 15.42 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of SimCode: time 6.41e-07/0.4278, allocations: 0 / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of Templates: time 0.005175/0.433, allocations: 1.876 MB / 1.315 GB, free: 8.551 MB / 1.014 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: 9.660854467190802]