Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006186/0.006186, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005208, allocations: 8 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9022, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009516/0.9032, allocations: 392.9 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.905, allocations: 1.199 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.9051, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.9051, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.9052, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.9059, allocations: 198.5 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.9061, allocations: 151.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.9062, allocations: 19.97 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.9063, allocations: 55.84 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.9064, allocations: 47.86 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.9065, allocations: 8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.9066, allocations: 27.92 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.9066, allocations: 7.984 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.9067, allocations: 77.52 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.9069, allocations: 131.7 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.907, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.907, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.907, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 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.000493/0.9075, allocations: 416.7 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.9075, allocations: 8.031 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.9076, allocations: 8.938 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.9077, allocations: 176.2 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.9078, allocations: 8.375 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.9078, allocations: 8.375 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.9079, allocations: 50.23 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.9079, allocations: 192 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.9079, allocations: 15.88 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.908, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.908, allocations: 12 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.9085, allocations: 348.8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.9086, allocations: 42.5 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.9086, allocations: 8.859 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.9086, allocations: 7.938 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.9088, allocations: 95.34 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.9088, allocations: 0 / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002336/0.909, allocations: 93.67 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.9091, allocations: 59.41 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.9092, allocations: 125.6 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.9092, allocations: 29.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.9093, allocations: 100.1 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.9093, allocations: 15.81 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.9094, allocations: 21.72 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9095, allocations: 318.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.9096, allocations: 59.97 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.9098, allocations: 93.12 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.91, allocations: 155.6 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.91, allocations: 4 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004005/0.9104, allocations: 252.9 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.9104, allocations: 71.52 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9105, allocations: 4 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.9105, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.9105, allocations: 7.938 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9105, allocations: 7.922 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.9109, allocations: 83.78 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.911, allocations: 11.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 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.0001214/0.9111, allocations: 125.8 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.9111, allocations: 7.906 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.9112, allocations: 12.38 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.9112, allocations: 4 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9112, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9112, allocations: 3.984 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.9113, allocations: 174.1 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9113, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.9114, allocations: 7.938 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9114, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.9114, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9114, allocations: 11.92 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9114, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.9115, allocations: 113 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.9116, allocations: 85 kB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.9116, allocations: 4.062 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.9116, allocations: 0 / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.9117, allocations: 7.984 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.9117, allocations: 7.984 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.9118, allocations: 87.28 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9118, allocations: 0 / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002507/0.912, allocations: 39.98 kB / 1.029 GB, free: 9.781 MB / 0.7794 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.0001795/0.9122, allocations: 111.2 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.9126, allocations: 246.6 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9126, allocations: 0 / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.9127, allocations: 27.98 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.9129, allocations: 16.23 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.9133, allocations: 179.2 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.9136, allocations: 0.6848 MB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.9136, allocations: 4 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.9136, allocations: 19.38 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.9136, allocations: 0 / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of Templates: time 0.005096/0.9187, allocations: 1.752 MB / 1.032 GB, free: 6.699 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches