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.00158/0.00158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002097/0.002098, allocations: 186.7 kB / 16.25 MB, free: 6.645 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.488 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.525/2.525, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8499, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002264/0.8522, allocations: 0.7265 MB / 0.9498 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.8539, allocations: 1.183 MB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.8539, allocations: 0 / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.854, allocations: 0 / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.8541, allocations: 6.688 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.8549, allocations: 204.8 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.8551, allocations: 182.2 kB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.8553, allocations: 13.48 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8554, allocations: 63.53 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.8555, allocations: 53.05 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.8555, allocations: 20.31 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.8557, allocations: 28.05 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.8557, allocations: 12.17 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.8558, allocations: 58.34 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.856, allocations: 146.8 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.856, allocations: 0 / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8561, allocations: 0 / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8561, allocations: 0 / 0.9517 GB, free: 7.16 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.0005772/0.8567, allocations: 438.7 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.8567, allocations: 9.781 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.8568, allocations: 11.69 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.8569, allocations: 179.9 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.8569, allocations: 4.844 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.857, allocations: 13.25 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.8572, allocations: 47.2 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.8572, allocations: 192 / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.8572, allocations: 5.25 kB / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8572, allocations: 0 / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.8573, allocations: 24.33 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.8578, allocations: 355.3 kB / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.858, allocations: 32.02 kB / 0.9528 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.858, allocations: 22.83 kB / 0.9528 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.858, allocations: 0 / 0.9528 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.8583, allocations: 80.53 kB / 0.9529 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8583, allocations: 4 kB / 0.9529 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003215/0.8586, allocations: 103.9 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.8587, allocations: 56.62 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.8588, allocations: 122.6 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.8588, allocations: 33.73 kB / 0.9532 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.8589, allocations: 89.08 kB / 0.9533 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.8589, allocations: 10.28 kB / 0.9533 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.8591, allocations: 48.19 kB / 0.9533 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.8591, allocations: 330 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8593, allocations: 57.5 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.8596, allocations: 97 kB / 0.9538 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.8598, allocations: 155.7 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8598, allocations: 1.469 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005968/0.8604, allocations: 262.6 kB / 0.9542 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.8605, allocations: 71.83 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8605, allocations: 1.438 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8606, allocations: 2.281 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.808e-05/0.8606, allocations: 3.156 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8606, allocations: 9.891 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.8611, allocations: 54.88 kB / 0.9543 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.8612, allocations: 12.48 kB / 0.9543 GB, free: 4.672 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 0.0001084/0.8613, allocations: 129.3 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.8613, allocations: 7.188 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.8614, allocations: 13.47 kB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8614, allocations: 5.094 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.8614, allocations: 0 / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8614, allocations: 0 / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.8615, allocations: 180.8 kB / 0.9547 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8616, allocations: 1.562 kB / 0.9547 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.8616, allocations: 5.094 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8616, allocations: 0 / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8616, allocations: 1.312 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8616, allocations: 1.656 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8616, allocations: 3.984 kB / 0.9547 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.8618, allocations: 115.2 kB / 0.9548 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.8618, allocations: 83.34 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.8619, allocations: 5.031 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.8619, allocations: 1.156 kB / 0.9549 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.862, allocations: 6.359 kB / 0.9549 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.862, allocations: 2.844 kB / 0.9549 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.862, allocations: 87.38 kB / 0.955 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8621, allocations: 4 kB / 0.955 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004427/0.8625, allocations: 34.64 kB / 0.955 GB, free: 4.012 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.0001719/0.8627, allocations: 100.2 kB / 0.9551 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.8631, allocations: 253 kB / 0.9553 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8632, allocations: 0 / 0.9553 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.8632, allocations: 36.08 kB / 0.9554 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.8636, allocations: 16.64 kB / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.864, allocations: 171.8 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.8641, allocations: 0.6878 MB / 0.9562 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.8642, allocations: 11.2 kB / 0.9562 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.8642, allocations: 15.81 kB / 0.9563 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8642, allocations: 0 / 0.9563 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of Templates: time 0.0056/0.8698, allocations: 1.836 MB / 0.958 GB, free: 1.875 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