Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001061/0.001061, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.000987/0.000987, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 442.6 MB / 0.7165 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.38 kB / 0.8773 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 153 MB / 1.027 GB, free: 2.152 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003079/0.3537, allocations: 1.803 MB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.3547, allocations: 0.5883 MB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.3548, allocations: 0 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3549, allocations: 23.73 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.3553, allocations: 79.59 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3555, allocations: 71.89 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.3559, allocations: 275.2 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.356, allocations: 36.28 kB / 1.03 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3562, allocations: 111.6 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.3564, allocations: 139.4 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.3565, allocations: 16 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.402e-05/0.3565, allocations: 24 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3566, allocations: 67.8 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3567, allocations: 95.41 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.357, allocations: 211.2 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.357, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.357, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.357, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 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.001096/0.3581, allocations: 0.549 MB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3582, allocations: 8.031 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.3582, allocations: 24.66 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.3587, allocations: 270.8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3587, allocations: 16.38 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.3588, allocations: 16.38 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.3591, allocations: 156.7 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3591, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3591, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.3591, allocations: 12.22 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.3594, allocations: 140.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.3603, allocations: 0.5521 MB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.3606, allocations: 182.1 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.3608, allocations: 68.83 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3608, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3608, allocations: 38.5 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.3609, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0004965/0.3614, allocations: 253.5 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3614, allocations: 55.34 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.3617, allocations: 245 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3618, allocations: 29.7 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.3619, allocations: 140.5 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.3619, allocations: 67.02 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.362, allocations: 45.7 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3621, allocations: 334.8 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3623, allocations: 75.95 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3624, allocations: 87.88 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.3627, allocations: 177.7 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3627, allocations: 0 / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003906/0.3631, allocations: 257.2 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3631, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3631, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3632, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.3635, allocations: 71.84 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3635, allocations: 4 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3637, allocations: 19.83 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3637, allocations: 4 kB / 1.034 GB, free: 10.55 MB / 0.8106 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.0001188/0.3638, allocations: 149.7 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.3639, allocations: 15.81 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/0.364, allocations: 34.17 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.364, allocations: 3.938 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.364, allocations: 3.938 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.364, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.3643, allocations: 301.4 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3643, allocations: 0 / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3645, allocations: 35.92 kB / 1.034 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3645, allocations: 4 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3646, allocations: 11.98 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3646, allocations: 3.938 kB / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3646, allocations: 0 / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.3651, allocations: 369 kB / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3652, allocations: 124.7 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3653, allocations: 15.92 kB / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3655, allocations: 12 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.3655, allocations: 11.98 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3656, allocations: 4 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002549/0.3658, allocations: 180.5 kB / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3658, allocations: 0 / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002802/0.3661, allocations: 48 kB / 1.035 GB, free: 9.156 MB / 0.8106 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.0001348/0.3662, allocations: 111.2 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.3666, allocations: 183.7 kB / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3666, allocations: 0 / 1.035 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3667, allocations: 82.56 kB / 1.036 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3671, allocations: 40.41 kB / 1.036 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3683, allocations: 0.5912 MB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3687, allocations: 0.7554 MB / 1.037 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.3688, allocations: 49.5 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3689, allocations: 19.44 kB / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3689, allocations: 0 / 1.037 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of Templates: time 0.005807/0.3747, allocations: 2.249 MB / 1.039 GB, free: 5.035 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches