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.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.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.007635/0.007635, allocations: 98.67 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.001517/0.001517, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.198/2.198, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9716/0.9729, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003306/0.9763, allocations: 1.805 MB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.9775, allocations: 0.5767 MB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.9776, allocations: 1.875 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.9777, allocations: 26.36 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.9781, allocations: 74.53 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.9784, allocations: 78.39 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.9788, allocations: 267.8 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.9789, allocations: 33.88 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.9791, allocations: 116.1 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.9794, allocations: 135.2 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.9794, allocations: 17.16 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.9795, allocations: 22.38 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.9796, allocations: 71.92 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.9797, allocations: 99.72 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.98, allocations: 214.6 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.98, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.98, allocations: 0.5938 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.98, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 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.001042/0.9811, allocations: 0.5399 MB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9811, allocations: 10.55 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.9812, allocations: 24.69 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.9816, allocations: 272.2 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.9817, allocations: 13.44 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.9817, allocations: 15.16 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.982, allocations: 148.4 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9821, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.9821, allocations: 8.797 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.9821, allocations: 15.16 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.9825, allocations: 138.9 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.9835, allocations: 0.5483 MB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.9839, allocations: 180.6 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.984, allocations: 73.52 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.9841, allocations: 6.125 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.9841, allocations: 41.36 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.9841, allocations: 0 / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0005657/0.9847, allocations: 246.2 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9847, allocations: 58.48 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.9851, allocations: 242.7 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.9851, allocations: 31.08 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.9852, allocations: 131.7 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.9853, allocations: 66.95 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.9854, allocations: 54.8 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9855, allocations: 333.5 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.9857, allocations: 81.56 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.9859, allocations: 82.55 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.9863, allocations: 174.5 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9863, allocations: 0 / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005237/0.9868, allocations: 254.5 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9869, allocations: 4.969 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9869, allocations: 4.781 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.9869, allocations: 1.359 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.9873, allocations: 73.69 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.9873, allocations: 2.234 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.9875, allocations: 21.11 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.9875, allocations: 4.938 kB / 1.095 GB, free: 0.8242 MB / 0.8575 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.0001131/0.9876, allocations: 142.5 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.9877, allocations: 18.06 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.162e-05/0.9877, allocations: 31.33 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.9878, allocations: 6.062 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9878, allocations: 0 / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.9878, allocations: 1.922 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.9882, allocations: 303.7 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9882, allocations: 0 / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.9884, allocations: 30.33 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9884, allocations: 1.125 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.9884, allocations: 14.14 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.9884, allocations: 8.375 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9885, allocations: 4.594 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.9891, allocations: 365.8 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.9892, allocations: 122.7 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.9892, allocations: 12.61 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.9894, allocations: 16.34 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.9895, allocations: 13.69 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.9895, allocations: 4.062 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002942/0.9898, allocations: 180.9 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9898, allocations: 0 / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003096/0.9901, allocations: 49.41 kB / 1.096 GB, free: 15.94 MB / 0.8731 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.0001329/0.9903, allocations: 105 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.9907, allocations: 185 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9907, allocations: 0.75 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.9909, allocations: 82.34 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.9913, allocations: 46.77 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.9927, allocations: 0.5899 MB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.993, allocations: 0.7559 MB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.9932, allocations: 55.38 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.9933, allocations: 19.89 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9933, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.006639/0.9999, allocations: 2.346 MB / 1.1 GB, free: 14.49 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches