Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001243, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008493/0.0008495, allocations: 82.53 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.105e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2186, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6939/0.9125, allocations: 131.4 MB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.9128, allocations: 71.33 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002413/0.9152, allocations: 0.9052 MB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.083e-06/0.9152, allocations: 0 / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9152, allocations: 0 / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004122/0.9157, allocations: 350.2 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9157, allocations: 8.031 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.9158, allocations: 7.906 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.9159, allocations: 182.2 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.9159, allocations: 4 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9159, allocations: 0 / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.9161, allocations: 56.42 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.9161, allocations: 0 / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.9161, allocations: 0 / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.9161, allocations: 4 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.9162, allocations: 18.75 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.9166, allocations: 281.8 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.9167, allocations: 49.27 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.9167, allocations: 20.03 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.9167, allocations: 0 / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.9169, allocations: 70.11 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.9169, allocations: 0 / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000182/0.9171, allocations: 74.48 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.9171, allocations: 55.41 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.9172, allocations: 115.9 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.9172, allocations: 29.2 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.9173, allocations: 91.69 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.9173, allocations: 7.906 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.9173, allocations: 2.125 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9174, allocations: 317.4 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.9175, allocations: 15.88 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.9175, allocations: 41.75 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.9176, allocations: 16.31 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9176, allocations: 0 / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001167/0.9177, allocations: 80.66 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9177, allocations: 4 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.9177, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.9178, allocations: 4 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.9178, allocations: 7.984 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9178, allocations: 4.062 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.9179, allocations: 18.3 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.9179, allocations: 3.953 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.918, allocations: 110.6 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.918, allocations: 7.906 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.9181, allocations: 8 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9181, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.9181, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9181, allocations: 7.875 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.9183, allocations: 183.6 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.9183, allocations: 0 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.9183, allocations: 4.875 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9183, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.9183, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9183, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9183, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.9185, allocations: 108.1 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.9186, allocations: 77.11 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.9186, allocations: 7.688 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.9187, allocations: 15.94 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.9187, allocations: 7.984 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.9188, allocations: 3.984 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.9188, allocations: 94.53 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9188, allocations: 4 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001777/0.919, allocations: 12 kB / 1.024 GB, free: 15.76 MB / 0.6511 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.9191, allocations: 99.81 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.9193, allocations: 38.92 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9193, allocations: 7.938 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.9193, allocations: 22.8 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.9195, allocations: 23.33 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.9198, allocations: 96.19 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.9201, allocations: 0.6848 MB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.9201, allocations: 7.859 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.9202, allocations: 15.38 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.9202, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.002757/0.9229, allocations: 0.7645 MB / 1.025 GB, free: 14 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches