Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.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.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.03 kB / 16.02 MB, free: 76 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.001564/0.001564, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.301 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.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004967, allocations: 11.94 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7427, allocations: 142.4 MB / 0.9557 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.001966/0.7447, allocations: 1.502 MB / 0.9572 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.7455, allocations: 0.5757 MB / 0.9577 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.7457, allocations: 6.5 kB / 0.9577 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.7458, allocations: 15.86 kB / 0.9577 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.7461, allocations: 59.25 kB / 0.9578 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.7463, allocations: 80.58 kB / 0.9579 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.7466, allocations: 252.2 kB / 0.9581 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.7467, allocations: 41.86 kB / 0.9582 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.7469, allocations: 90.48 kB / 0.9582 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.7471, allocations: 132.5 kB / 0.9584 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.7472, allocations: 8.688 kB / 0.9584 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.197e-05/0.7472, allocations: 8.562 kB / 0.9584 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.7473, allocations: 55.88 kB / 0.9584 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.107e-05/0.7474, allocations: 120.4 kB / 0.9586 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.7476, allocations: 155.1 kB / 0.9587 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.7476, allocations: 0 / 0.9587 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7476, allocations: 1.375 kB / 0.9587 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.7476, allocations: 0 / 0.9587 GB, free: 5.277 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009397/0.7486, allocations: 0.5093 MB / 0.9592 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7486, allocations: 9.25 kB / 0.9592 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.7487, allocations: 24.22 kB / 0.9592 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.7491, allocations: 275.4 kB / 0.9595 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7491, allocations: 8.5 kB / 0.9595 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.7492, allocations: 17.98 kB / 0.9595 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.7495, allocations: 152.3 kB / 0.9597 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7495, allocations: 0 / 0.9597 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.7495, allocations: 5 kB / 0.9597 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.7496, allocations: 12.53 kB / 0.9597 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.7499, allocations: 143.5 kB / 0.9598 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.7508, allocations: 0.5533 MB / 0.9604 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.7511, allocations: 176.7 kB / 0.9605 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.7513, allocations: 73.42 kB / 0.9606 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.7513, allocations: 6.688 kB / 0.9606 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.7513, allocations: 35.92 kB / 0.9606 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.7513, allocations: 3.938 kB / 0.9606 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005304/0.7519, allocations: 259.1 kB / 0.9609 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.7519, allocations: 58.09 kB / 0.9609 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.7522, allocations: 243.4 kB / 0.9612 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7523, allocations: 31.08 kB / 0.9612 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.7523, allocations: 130.2 kB / 0.9613 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.7524, allocations: 71.25 kB / 0.9614 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.7524, allocations: 29.95 kB / 0.9614 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.7525, allocations: 337.7 kB / 0.9618 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.7526, allocations: 78.58 kB / 0.9618 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.7528, allocations: 91.5 kB / 0.9619 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.7531, allocations: 184 kB / 0.9621 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7531, allocations: 0 / 0.9621 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004186/0.7536, allocations: 258.5 kB / 0.9623 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.7536, allocations: 5.281 kB / 0.9623 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.7536, allocations: 0 / 0.9623 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7536, allocations: 1.688 kB / 0.9623 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.7539, allocations: 75.89 kB / 0.9624 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.754, allocations: 1.188 kB / 0.9624 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.7541, allocations: 23.59 kB / 0.9624 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.7542, allocations: 4.375 kB / 0.9624 GB, free: 2.395 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.784e-05/0.7543, allocations: 139.1 kB / 0.9626 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.7543, allocations: 21.81 kB / 0.9626 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.7544, allocations: 31.52 kB / 0.9626 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.7544, allocations: 5.906 kB / 0.9626 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7544, allocations: 1.031 kB / 0.9626 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7544, allocations: 3.984 kB / 0.9626 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.7547, allocations: 302 kB / 0.9629 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7547, allocations: 4 kB / 0.9629 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.7549, allocations: 34.67 kB / 0.963 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7549, allocations: 1.219 kB / 0.963 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.7549, allocations: 11.2 kB / 0.963 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7549, allocations: 5.281 kB / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.755, allocations: 0 / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.7555, allocations: 377.8 kB / 0.9633 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.7556, allocations: 126.9 kB / 0.9635 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.7556, allocations: 14.89 kB / 0.9635 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.7558, allocations: 5.812 kB / 0.9635 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.7559, allocations: 17.41 kB / 0.9635 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.7559, allocations: 3 kB / 0.9635 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002708/0.7562, allocations: 182 kB / 0.9637 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7562, allocations: 4 kB / 0.9637 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000292/0.7565, allocations: 46.12 kB / 0.9637 GB, free: 1.379 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001162/0.7566, allocations: 105.9 kB / 0.9638 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.7569, allocations: 178 kB / 0.964 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7569, allocations: 1.062 kB / 0.964 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.7571, allocations: 88.25 kB / 0.9641 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.7575, allocations: 47.52 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.7588, allocations: 0.723 MB / 0.9648 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.7591, allocations: 0.7538 MB / 0.9656 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.7592, allocations: 25.08 kB / 0.9656 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.7592, allocations: 0 / 0.9656 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.00578/0.765, allocations: 2.666 MB / 0.9682 GB, free: 14.51 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches