Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006651/0.006651, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001098/0.001098, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7528, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003038/0.7558, allocations: 1.802 MB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.7569, allocations: 0.5806 MB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.757, allocations: 0 / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.7572, allocations: 23.73 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.7575, allocations: 79.55 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.7578, allocations: 83.88 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.7582, allocations: 267.3 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.7583, allocations: 36.3 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.7585, allocations: 107.6 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.7587, allocations: 131.5 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.7588, allocations: 19.94 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.7589, allocations: 20 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.759, allocations: 75.72 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.7591, allocations: 99.41 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.7594, allocations: 210.8 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7594, allocations: 4 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.905e-06/0.7595, allocations: 3.938 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.7595, allocations: 3.938 kB / 1.17 GB, free: 276 kB / 0.8887 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.001166/0.7606, allocations: 0.5412 MB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7607, allocations: 8.922 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.7608, allocations: 50.72 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.7608, allocations: 28.75 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.7613, allocations: 278.9 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.7614, allocations: 8.375 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.7614, allocations: 12.38 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.7617, allocations: 146.3 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7617, allocations: 4 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.7618, allocations: 7.984 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.7618, allocations: 8.234 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.7621, allocations: 144.5 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.7631, allocations: 0.5445 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.7634, allocations: 179.4 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.7636, allocations: 75 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.7636, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.7637, allocations: 38.56 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.7637, allocations: 0 / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0005523/0.7642, allocations: 257.5 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7643, allocations: 55.41 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.7647, allocations: 245 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.7647, allocations: 29.7 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.7648, allocations: 132.6 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.7649, allocations: 87.3 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.765, allocations: 41.7 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7651, allocations: 338.8 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.7653, allocations: 75.95 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.7655, allocations: 82.14 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.7658, allocations: 179.6 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7658, allocations: 0 / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004181/0.7662, allocations: 253.3 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7662, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7662, allocations: 7.938 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7663, allocations: 7.875 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.7666, allocations: 63.95 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7666, allocations: 0 / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.7668, allocations: 23.88 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.7669, allocations: 11.94 kB / 1.173 GB, free: 12.13 MB / 0.9044 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 0.000158/0.767, allocations: 137.8 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.7671, allocations: 23.86 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.7671, allocations: 30.17 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7672, allocations: 3.938 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7672, allocations: 4 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7672, allocations: 0 / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.7676, allocations: 297.4 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7676, allocations: 0 / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.7678, allocations: 35.92 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.7678, allocations: 4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.7678, allocations: 8 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.7679, allocations: 7.938 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7679, allocations: 0 / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.7684, allocations: 373.6 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.7685, allocations: 120.9 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.7686, allocations: 7.938 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.7688, allocations: 15.98 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.7689, allocations: 11.92 kB / 1.174 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.7689, allocations: 8 kB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002924/0.7692, allocations: 184.5 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7692, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002889/0.7695, allocations: 47.95 kB / 1.175 GB, free: 10.74 MB / 0.9044 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.0008842/0.7704, allocations: 0.9074 MB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.7708, allocations: 184.5 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7708, allocations: 0 / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.7709, allocations: 79.91 kB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.7713, allocations: 56.22 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.7752, allocations: 2.678 MB / 1.178 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.7756, allocations: 0.7631 MB / 1.179 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.7757, allocations: 53.48 kB / 1.179 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7759, allocations: 71.41 kB / 1.179 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.7759, allocations: 0 / 1.179 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.7995, allocations: 4.829 MB / 1.184 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.584, allocations: 5.125 kB / 1.184 GB, free: 1.109 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches