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.001103/0.001104, allocations: 108 kB / 15.6 MB, free: 132 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.001192/0.001193, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.7 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.95 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3144, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002914/0.3174, allocations: 1.792 MB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.3184, allocations: 0.5883 MB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3185, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3187, allocations: 27.73 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.3191, allocations: 63.61 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3194, allocations: 91.86 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3197, allocations: 263.4 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3199, allocations: 40.28 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3201, allocations: 107.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.3203, allocations: 135.5 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.3203, allocations: 20 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.3204, allocations: 16 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3205, allocations: 71.81 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3206, allocations: 103.3 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3208, allocations: 215.5 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3209, allocations: 0 / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3209, allocations: 0 / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3209, allocations: 0 / 1.072 GB, free: 6.895 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.001062/0.3219, allocations: 0.5334 MB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.322, allocations: 8.031 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.3221, allocations: 32.64 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3225, allocations: 278.7 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3225, allocations: 4.375 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.3225, allocations: 24.28 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3228, allocations: 153 kB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3228, allocations: 3.938 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3228, allocations: 4 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.3229, allocations: 8.234 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.3232, allocations: 145.8 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.3241, allocations: 0.5444 MB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3245, allocations: 181.9 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.3246, allocations: 68.83 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3246, allocations: 8 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3246, allocations: 34.56 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3247, allocations: 0 / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0004906/0.3251, allocations: 251.1 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.3252, allocations: 55.34 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.3255, allocations: 249 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3256, allocations: 29.7 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.3257, allocations: 136.5 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.3257, allocations: 74.92 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.3258, allocations: 41.7 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3259, allocations: 338.8 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3261, allocations: 71.95 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.3263, allocations: 85.69 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.3266, allocations: 186.4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3266, allocations: 0 / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004298/0.327, allocations: 256.5 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.327, allocations: 5.562 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3271, allocations: 0 / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3271, allocations: 0 / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.3274, allocations: 67.84 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3274, allocations: 7.938 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3276, allocations: 23.83 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3277, allocations: 4 kB / 1.075 GB, free: 2.828 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.0001387/0.3278, allocations: 141.8 kB / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.3279, allocations: 19.72 kB / 1.076 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3279, allocations: 34.17 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3279, allocations: 3.938 kB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3279, allocations: 3.938 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.328, allocations: 0 / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.3283, allocations: 293.5 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3283, allocations: 7.938 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.3285, allocations: 35.98 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3286, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3286, allocations: 7.984 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3286, allocations: 3.938 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3286, allocations: 0 / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.3292, allocations: 382.9 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3293, allocations: 120.8 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.3294, allocations: 11.92 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.3296, allocations: 12 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3296, allocations: 7.984 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3297, allocations: 7.984 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000309/0.33, allocations: 180.5 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.33, allocations: 0 / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003067/0.3303, allocations: 51.91 kB / 1.077 GB, free: 1.438 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.0001615/0.3305, allocations: 109.6 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004043/0.3309, allocations: 201.7 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3309, allocations: 0 / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.331, allocations: 83.89 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3315, allocations: 38.66 kB / 1.077 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3328, allocations: 0.5962 MB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3331, allocations: 0.7593 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.3333, allocations: 45.5 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3334, allocations: 19.44 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3334, allocations: 3.938 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.005948/0.3393, allocations: 2.242 MB / 1.081 GB, free: 13.3 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