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.421/1.421, allocations: 249.5 MB / 257 MB, free: 6.898 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.0009537/0.0009537, allocations: 179.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001013/0.001013, allocations: 101.8 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.263e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.245, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7756/1.021, allocations: 131.6 MB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.021, allocations: 69.14 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002438/1.024, allocations: 0.9003 MB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/1.024, allocations: 0.75 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.024, allocations: 0 / 1.015 GB, free: 5.297 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.0004969/1.024, allocations: 349.7 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/1.024, allocations: 8.031 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/1.024, allocations: 7.906 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/1.024, allocations: 186 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.024, allocations: 3.938 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/1.024, allocations: 4 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.638e-05/1.025, allocations: 26.06 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/1.025, allocations: 44.94 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.025, allocations: 4 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.025, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.025, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/1.025, allocations: 257.4 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/1.025, allocations: 36.7 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/1.025, allocations: 20.17 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/1.025, allocations: 3.938 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/1.026, allocations: 69.75 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/1.026, allocations: 0 / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002054/1.026, allocations: 69.8 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.026, allocations: 55.41 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.026, allocations: 111.6 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/1.026, allocations: 25.7 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/1.026, allocations: 91.14 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/1.026, allocations: 6.531 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/1.026, allocations: 0 / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.026, allocations: 326 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/1.026, allocations: 14.81 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/1.026, allocations: 28.95 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/1.026, allocations: 19.17 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.026, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001083/1.027, allocations: 71.89 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.027, allocations: 8 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.027, allocations: 0 / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.027, allocations: 0 / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/1.027, allocations: 7.062 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.027, allocations: 4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/1.027, allocations: 16.05 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.027, allocations: 4 kB / 1.017 GB, free: 3.348 MB / 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 9.436e-05/1.027, allocations: 108.9 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/1.027, allocations: 7.906 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/1.027, allocations: 11.67 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.027, allocations: 4 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.027, allocations: 0 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.027, allocations: 3.828 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/1.027, allocations: 155.7 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.027, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/1.027, allocations: 3.938 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.027, allocations: 4 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.027, allocations: 3.984 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.027, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.027, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.027, allocations: 94.52 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/1.027, allocations: 81.06 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/1.027, allocations: 4 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/1.028, allocations: 21.67 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.028, allocations: 11.42 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/1.028, allocations: 3.984 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.293e-05/1.028, allocations: 86.41 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001798/1.028, allocations: 12 kB / 1.017 GB, free: 2.691 MB / 0.6355 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.0002305/1.028, allocations: 107.4 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001359/1.028, allocations: 34.75 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.028, allocations: 3.438 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/1.028, allocations: 23.11 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/1.029, allocations: 12.39 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/1.029, allocations: 90.8 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/1.029, allocations: 0.6846 MB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.555e-05/1.029, allocations: 7.859 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/1.029, allocations: 11.44 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.029, allocations: 3.938 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of Templates: time 0.002917/1.032, allocations: 0.7312 MB / 1.019 GB, free: 0.9805 MB / 0.6355 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