Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002459/0.002459, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6646 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8519, allocations: 140.4 MB / 0.9496 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002303/0.8542, allocations: 0.6563 MB / 0.9502 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.8566, allocations: 1.19 MB / 0.9514 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.8567, allocations: 0 / 0.9514 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.8567, allocations: 5 kB / 0.9514 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.8569, allocations: 13.22 kB / 0.9514 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.8577, allocations: 216.8 kB / 0.9516 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.858, allocations: 182 kB / 0.9518 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.8581, allocations: 9.625 kB / 0.9518 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.8582, allocations: 68.38 kB / 0.9519 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.8584, allocations: 57.09 kB / 0.9519 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.8584, allocations: 14.06 kB / 0.9519 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.8585, allocations: 33.44 kB / 0.952 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.8586, allocations: 7.891 kB / 0.952 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.8587, allocations: 53.78 kB / 0.952 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.8589, allocations: 150.7 kB / 0.9522 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8589, allocations: 0 / 0.9522 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.867e-06/0.8589, allocations: 1.312 kB / 0.9522 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.859, allocations: 0 / 0.9522 GB, free: 7.52 MB / 0.7169 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.0006786/0.8597, allocations: 434.6 kB / 0.9526 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.8597, allocations: 13.28 kB / 0.9526 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.8598, allocations: 7.469 kB / 0.9526 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.8599, allocations: 180.3 kB / 0.9528 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.8599, allocations: 4.469 kB / 0.9528 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.86, allocations: 9.344 kB / 0.9528 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.8601, allocations: 51.98 kB / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.8601, allocations: 192 / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.8601, allocations: 3.938 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8601, allocations: 1.062 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.8602, allocations: 16.19 kB / 0.9529 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.8607, allocations: 354 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.8608, allocations: 37.03 kB / 0.9532 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.8608, allocations: 13.98 kB / 0.9532 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.8608, allocations: 5 kB / 0.9533 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.861, allocations: 92.53 kB / 0.9533 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.861, allocations: 0 / 0.9533 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002709/0.8613, allocations: 103.8 kB / 0.9534 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.8614, allocations: 52.66 kB / 0.9535 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.8615, allocations: 118.6 kB / 0.9536 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.8615, allocations: 29.7 kB / 0.9536 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.8615, allocations: 94 kB / 0.9537 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.8616, allocations: 18.33 kB / 0.9537 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.8617, allocations: 51.16 kB / 0.9538 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.8617, allocations: 320.9 kB / 0.9541 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.8619, allocations: 63.45 kB / 0.9542 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.862, allocations: 96.89 kB / 0.9542 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.8622, allocations: 160.6 kB / 0.9544 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8622, allocations: 0 / 0.9544 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004219/0.8626, allocations: 263 kB / 0.9547 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.8627, allocations: 68.67 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.8627, allocations: 1.156 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8627, allocations: 2.5 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.328e-05/0.8628, allocations: 5.312 kB / 0.9547 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.8628, allocations: 6.219 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.8632, allocations: 55.86 kB / 0.9548 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.8632, allocations: 13.22 kB / 0.9548 GB, free: 5.035 MB / 0.7169 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 9.358e-05/0.8633, allocations: 130.4 kB / 0.9549 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.8633, allocations: 10.41 kB / 0.9549 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.8633, allocations: 9.906 kB / 0.9549 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8634, allocations: 5.328 kB / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8634, allocations: 0 / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8634, allocations: 0 / 0.9549 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.8635, allocations: 177.1 kB / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8635, allocations: 0 / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.8635, allocations: 5.375 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8635, allocations: 1.375 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8635, allocations: 1.469 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8635, allocations: 0 / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8635, allocations: 4 kB / 0.9551 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.8637, allocations: 120 kB / 0.9552 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.8637, allocations: 79.27 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.8638, allocations: 1.625 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.8638, allocations: 3.984 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.8638, allocations: 8.062 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.8638, allocations: 2.594 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.8639, allocations: 95.08 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8639, allocations: 0 / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002537/0.8642, allocations: 30.59 kB / 0.9555 GB, free: 4.375 MB / 0.7169 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.0001781/0.8643, allocations: 106.8 kB / 0.9556 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.8647, allocations: 249.2 kB / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8647, allocations: 0 / 0.9558 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.8648, allocations: 24.81 kB / 0.9558 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.865, allocations: 25.83 kB / 0.9558 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.8654, allocations: 160.7 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.8656, allocations: 0.6911 MB / 0.9567 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.8656, allocations: 12.5 kB / 0.9567 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.8656, allocations: 10.78 kB / 0.9567 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8656, allocations: 0 / 0.9567 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.005011/0.8707, allocations: 1.849 MB / 0.9585 GB, free: 2.246 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches