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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001687/0.001687, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001274/0.001274, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 62.73 kB / 0.9115 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.003199/0.3303, allocations: 1.857 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009979/0.3313, allocations: 0.5767 MB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.3314, allocations: 8 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.3315, allocations: 11.86 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3319, allocations: 63.69 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.3321, allocations: 71.91 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.3325, allocations: 279.2 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3326, allocations: 44.27 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3328, allocations: 107.6 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.333, allocations: 135.5 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.3331, allocations: 16 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.289e-05/0.3331, allocations: 23.94 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3332, allocations: 67.75 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3333, allocations: 99.44 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3336, allocations: 211.5 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3336, allocations: 3.938 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3336, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3336, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 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.001338/0.335, allocations: 0.543 MB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.335, allocations: 8.031 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.3351, allocations: 24.66 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.3355, allocations: 274.7 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3355, allocations: 12.38 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.3356, allocations: 20.28 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3359, allocations: 150.6 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3359, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3359, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.336, allocations: 12.22 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3364, allocations: 144.5 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.3374, allocations: 0.5406 MB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.3378, allocations: 186.3 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3379, allocations: 68.83 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3379, allocations: 3.984 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.338, allocations: 34.56 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.338, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005231/0.3385, allocations: 247 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.3386, allocations: 63.33 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.3389, allocations: 245 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.339, allocations: 29.7 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.3391, allocations: 136.5 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.3391, allocations: 74.91 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.3392, allocations: 45.66 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3394, allocations: 330.8 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.3396, allocations: 83.94 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3397, allocations: 83.95 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3401, allocations: 178.9 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3401, allocations: 0 / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004389/0.3405, allocations: 260.2 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3405, allocations: 4 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3406, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3406, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3409, allocations: 75.89 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.341, allocations: 4 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3412, allocations: 19.84 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.3412, allocations: 7.984 kB / 1.075 GB, free: 3.156 MB / 0.8262 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.0001651/0.3414, allocations: 137.8 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.3414, allocations: 23.72 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.49e-05/0.3415, allocations: 26.19 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3415, allocations: 7.938 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3415, allocations: 4 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3415, allocations: 3.984 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.342, allocations: 293.5 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.342, allocations: 0 / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.3422, allocations: 35.92 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3422, allocations: 0 / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.3423, allocations: 15.97 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3423, allocations: 3.938 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3423, allocations: 0 / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.3429, allocations: 372.9 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.343, allocations: 116.8 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3431, allocations: 15.92 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3433, allocations: 7.984 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.3433, allocations: 19.92 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3434, allocations: 4 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000364/0.3437, allocations: 180.5 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3437, allocations: 4 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003001/0.344, allocations: 47.91 kB / 1.076 GB, free: 1.773 MB / 0.8262 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.000149/0.3442, allocations: 103.8 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3447, allocations: 195.8 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3447, allocations: 0 / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.3449, allocations: 83.89 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.3453, allocations: 53.94 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3466, allocations: 0.6612 MB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.347, allocations: 0.7593 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.3472, allocations: 53.48 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.3472, allocations: 23.44 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of SimCode: time 7.12e-07/0.3472, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.005765/0.353, allocations: 2.215 MB / 1.08 GB, free: 13.58 MB / 0.8419 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches