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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00119/0.00119, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001792/0.001792, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.775/2.775, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9576, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0009161/0.9586, allocations: 384 kB / 0.9548 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.9604, allocations: 1.167 MB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.9605, allocations: 0 / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.9605, allocations: 4.891 kB / 0.956 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.9606, allocations: 4.969 kB / 0.956 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.9614, allocations: 195.3 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.9617, allocations: 137.8 kB / 0.9563 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9618, allocations: 12.28 kB / 0.9563 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.962, allocations: 55.59 kB / 0.9563 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.9621, allocations: 52.95 kB / 0.9564 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.9621, allocations: 8.312 kB / 0.9564 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.9622, allocations: 17.89 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.9623, allocations: 12.17 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.9624, allocations: 39.92 kB / 0.9565 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.9625, allocations: 104.4 kB / 0.9566 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9625, allocations: 4 kB / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9625, allocations: 1.406 kB / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.9626, allocations: 0 / 0.9566 GB, free: 6.129 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.0004693/0.963, allocations: 406.9 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.9631, allocations: 10.22 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.9632, allocations: 10.98 kB / 0.957 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.9633, allocations: 165.4 kB / 0.9571 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.9633, allocations: 8.75 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.9634, allocations: 12.78 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.9635, allocations: 55.52 kB / 0.9572 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.9635, allocations: 0 / 0.9572 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.9635, allocations: 0 / 0.9572 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9635, allocations: 1.406 kB / 0.9572 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.9636, allocations: 20.66 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.964, allocations: 350.2 kB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.9641, allocations: 32.33 kB / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.9641, allocations: 18.27 kB / 0.9576 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.9642, allocations: 5.734 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.9643, allocations: 83.73 kB / 0.9577 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.9643, allocations: 3.984 kB / 0.9577 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002398/0.9646, allocations: 103.4 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.9646, allocations: 56.75 kB / 0.9579 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.9647, allocations: 118.5 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.9648, allocations: 37.84 kB / 0.958 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.9648, allocations: 92.86 kB / 0.9581 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.9648, allocations: 10.52 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.9649, allocations: 7.031 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.9649, allocations: 321.5 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.965, allocations: 57.5 kB / 0.9585 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.9652, allocations: 103.6 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.9653, allocations: 110.1 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9653, allocations: 2.281 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003729/0.9657, allocations: 264.2 kB / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.9658, allocations: 70.08 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9658, allocations: 5.375 kB / 0.959 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9658, allocations: 6.766 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.203e-05/0.9658, allocations: 5.375 kB / 0.959 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9658, allocations: 6.812 kB / 0.959 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.9662, allocations: 85.19 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.9663, allocations: 12.23 kB / 0.9591 GB, free: 3.723 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.9664, allocations: 118.1 kB / 0.9592 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.9664, allocations: 6.734 kB / 0.9592 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.9664, allocations: 13.69 kB / 0.9592 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9665, allocations: 9.328 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9665, allocations: 0 / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9665, allocations: 1.375 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.9666, allocations: 172.6 kB / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9666, allocations: 0 / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.9666, allocations: 1.375 kB / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.9666, allocations: 1.375 kB / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.9666, allocations: 1.375 kB / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.9666, allocations: 0 / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9667, allocations: 3.953 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.9668, allocations: 116.6 kB / 0.9595 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.9668, allocations: 82.36 kB / 0.9596 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.9669, allocations: 1.344 kB / 0.9596 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.9669, allocations: 4 kB / 0.9596 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.9669, allocations: 11.92 kB / 0.9596 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.967, allocations: 6.922 kB / 0.9596 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.967, allocations: 90.55 kB / 0.9597 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.967, allocations: 0 / 0.9597 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002784/0.9673, allocations: 34.81 kB / 0.9598 GB, free: 3.07 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 (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.0002075/0.9675, allocations: 110.5 kB / 0.9599 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.9679, allocations: 244.1 kB / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9679, allocations: 288 / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.9679, allocations: 19.75 kB / 0.9601 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.9682, allocations: 23.83 kB / 0.9601 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.9686, allocations: 168.2 kB / 0.9603 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.9688, allocations: 0.6839 MB / 0.961 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.9688, allocations: 11.98 kB / 0.961 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.9688, allocations: 15.53 kB / 0.961 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9688, allocations: 0 / 0.961 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.004932/0.9738, allocations: 1.677 MB / 0.9626 GB, free: 1.039 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