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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001314/0.001314, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.623/2.623, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9019, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002152/0.9042, allocations: 0.7264 MB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.9058, allocations: 1.202 MB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.9059, allocations: 8 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.9059, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.521e-05/0.906, allocations: 7.875 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.9067, allocations: 202.9 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.9069, allocations: 147.7 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.907, allocations: 19.98 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.9071, allocations: 55.89 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.9072, allocations: 47.88 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.9073, allocations: 8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.9074, allocations: 23.97 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.9074, allocations: 15.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.9075, allocations: 43.89 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.9077, allocations: 147.5 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9077, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9078, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.9078, allocations: 4 kB / 1.019 GB, free: 144 kB / 0.7637 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.0006014/0.9084, allocations: 440.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9084, allocations: 8.031 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.9085, allocations: 12.84 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.9086, allocations: 168.3 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.9086, allocations: 12.38 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.9087, allocations: 8.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.9088, allocations: 46.23 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.9088, allocations: 192 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.9088, allocations: 7.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9088, allocations: 8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.9089, allocations: 19.98 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.9094, allocations: 348.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.9095, allocations: 42.52 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.9095, allocations: 8.953 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.9095, allocations: 7.984 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.9097, allocations: 83.3 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.9097, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002412/0.9099, allocations: 101.6 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.91, allocations: 55.41 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.9101, allocations: 121.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.9101, allocations: 29.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.9102, allocations: 92.14 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.9102, allocations: 15.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.9103, allocations: 49.69 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9105, allocations: 323.1 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.9106, allocations: 55.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.9108, allocations: 108.1 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.911, allocations: 155.6 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.911, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004383/0.9115, allocations: 256.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.9115, allocations: 75.52 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9116, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9116, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.996e-05/0.9116, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9116, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.912, allocations: 59.86 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.912, allocations: 15.92 kB / 1.022 GB, free: 13.15 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.0001095/0.9121, allocations: 128.3 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.9122, allocations: 7.906 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.9122, allocations: 12.36 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9122, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9122, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9122, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.9124, allocations: 177.6 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9124, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.9124, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.9124, allocations: 4 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.9124, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9124, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9124, allocations: 4.094 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.9126, allocations: 121.1 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.9126, allocations: 89.06 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.9127, allocations: 4 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.9127, allocations: 0 / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.9127, allocations: 11.98 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.9127, allocations: 8 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.9128, allocations: 83.28 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9128, allocations: 0 / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002442/0.913, allocations: 35.98 kB / 1.022 GB, free: 12.38 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.0001437/0.9132, allocations: 107.2 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.9135, allocations: 254.9 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9136, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.9136, allocations: 31.92 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.9139, allocations: 13.86 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.9142, allocations: 164.5 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.9145, allocations: 0.6888 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.9145, allocations: 7.984 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.9145, allocations: 11.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.9145, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.004572/0.9191, allocations: 1.75 MB / 1.025 GB, free: 9.281 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