Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.001395/0.001395, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001608/0.001608, allocations: 192.4 kB / 22.1 MB, free: 4.227 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.574/1.574, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.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 2.992/2.992, allocations: 495.8 MB / 0.783 GB, free: 12.26 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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand")
translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 68.11 kB / 1.137 GB, free: 10.13 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.155, allocations: 173.6 MB / 1.307 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00214/1.157, allocations: 0.6541 MB / 1.307 GB, free: 0.5 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002015/1.159, allocations: 1.2 MB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/1.159, allocations: 1.062 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.395e-05/1.159, allocations: 4.547 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.226e-05/1.159, allocations: 15.61 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007895/1.16, allocations: 222 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002916/1.16, allocations: 173.8 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/1.161, allocations: 4.672 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/1.161, allocations: 66.78 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/1.161, allocations: 68.72 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.918e-05/1.161, allocations: 14.28 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/1.161, allocations: 36.39 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.595e-05/1.161, allocations: 5.156 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001045/1.161, allocations: 59.31 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002859/1.161, allocations: 146.8 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.161, allocations: 0 / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.773e-06/1.161, allocations: 0 / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.132e-05/1.161, allocations: 1.406 kB / 1.309 GB, free: 15.28 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.0006093/1.162, allocations: 360.3 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.162, allocations: 9.844 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/1.162, allocations: 20.91 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.162, allocations: 119.3 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.162, allocations: 8.672 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/1.162, allocations: 9.797 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/1.162, allocations: 45.8 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/1.162, allocations: 1.562 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/1.162, allocations: 8.594 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.162, allocations: 1.312 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/1.163, allocations: 17.7 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/1.163, allocations: 324.7 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/1.163, allocations: 37.42 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/1.163, allocations: 10.95 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/1.163, allocations: 0.6562 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/1.163, allocations: 81.48 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.383e-06/1.163, allocations: 5.094 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0002971/1.164, allocations: 111.7 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.164, allocations: 58.61 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.164, allocations: 115.3 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.985e-05/1.164, allocations: 30.75 kB / 1.311 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/1.164, allocations: 94.39 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/1.164, allocations: 16.42 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.164, allocations: 48.25 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000173/1.164, allocations: 322 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/1.165, allocations: 68.56 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/1.165, allocations: 92.94 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/1.165, allocations: 158.7 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.165, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004974/1.165, allocations: 261.3 kB / 1.312 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/1.166, allocations: 68.31 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.166, allocations: 1.469 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.166, allocations: 1.891 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.389e-05/1.166, allocations: 4.016 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.166, allocations: 5.094 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/1.166, allocations: 61.03 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/1.166, allocations: 14.42 kB / 1.312 GB, free: 13.18 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,nand1.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.0001291/1.166, allocations: 131.5 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/1.166, allocations: 8.438 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/1.166, allocations: 10.16 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.166, allocations: 5.125 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.166, allocations: 0 / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/1.166, allocations: 0.6562 kB / 1.312 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/1.166, allocations: 150.5 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.166, allocations: 0.5625 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/1.166, allocations: 3.203 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/1.166, allocations: 0 / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/1.166, allocations: 1.812 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.166, allocations: 1.375 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.166, allocations: 0 / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/1.167, allocations: 121.5 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/1.167, allocations: 7.203 kB / 1.312 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/1.167, allocations: 4.672 kB / 1.312 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/1.167, allocations: 5.703 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/1.167, allocations: 6 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/1.167, allocations: 3.234 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.03e-05/1.167, allocations: 90.95 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/1.167, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002407/1.167, allocations: 34.8 kB / 1.312 GB, free: 12.67 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,nand1.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.0001747/1.167, allocations: 105.3 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003928/1.168, allocations: 226.9 kB / 1.313 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.168, allocations: 0 / 1.313 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 6.656e-05/1.168, allocations: 24.73 kB / 1.313 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/1.168, allocations: 19.31 kB / 1.313 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/1.168, allocations: 158.2 kB / 1.313 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/1.169, allocations: 0.6852 MB / 1.314 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.932e-05/1.169, allocations: 5.5 kB / 1.314 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/1.169, allocations: 11.56 kB / 1.314 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of SimCode: time 6.41e-07/1.169, allocations: 0 / 1.314 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of Templates: time 0.005794/1.174, allocations: 1.877 MB / 1.315 GB, free: 10.91 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.895554424263537]