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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0088/0.0088, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002257/0.002258, allocations: 192.2 kB / 16.79 MB, free: 6.254 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6283, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002521/0.6308, allocations: 1.849 MB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.6316, allocations: 0.5856 MB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.6317, allocations: 1.375 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.6318, allocations: 13.23 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.6321, allocations: 66.67 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.6323, allocations: 72.41 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.6326, allocations: 256.8 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.6327, allocations: 37.67 kB / 0.9524 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.6328, allocations: 99.17 kB / 0.9525 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.633, allocations: 132.8 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.633, allocations: 9.531 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.6331, allocations: 10.31 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.6332, allocations: 64.55 kB / 0.9527 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.6332, allocations: 91.42 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.6334, allocations: 158.7 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6334, allocations: 0 / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6334, allocations: 5.281 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6334, allocations: 0 / 0.9529 GB, free: 6.609 MB / 0.7169 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.0009781/0.6344, allocations: 0.5347 MB / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6344, allocations: 13.69 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.6345, allocations: 24.5 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.6349, allocations: 275.5 kB / 0.9537 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6349, allocations: 16.48 kB / 0.9537 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.635, allocations: 14.38 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.6352, allocations: 148.7 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.6352, allocations: 0 / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6353, allocations: 1.375 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.6353, allocations: 12.14 kB / 0.9539 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.6356, allocations: 139.6 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008002/0.6364, allocations: 0.5487 MB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.6367, allocations: 185.6 kB / 0.9548 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.6368, allocations: 71.42 kB / 0.9548 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6369, allocations: 2.125 kB / 0.9548 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.6369, allocations: 35.59 kB / 0.9549 GB, free: 5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.6369, allocations: 4.969 kB / 0.9549 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0004867/0.6374, allocations: 247.9 kB / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.6374, allocations: 57.56 kB / 0.9552 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.6377, allocations: 242.8 kB / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.6378, allocations: 34.8 kB / 0.9554 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.6378, allocations: 134.3 kB / 0.9556 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.6379, allocations: 68.56 kB / 0.9556 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.6379, allocations: 50.92 kB / 0.9557 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.638, allocations: 333.5 kB / 0.956 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.6382, allocations: 80.67 kB / 0.9561 GB, free: 4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.6383, allocations: 86.27 kB / 0.9561 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.6386, allocations: 177.7 kB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6386, allocations: 0 / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003475/0.6389, allocations: 246 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.639, allocations: 13.36 kB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.639, allocations: 0 / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.639, allocations: 2 kB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.6393, allocations: 70.88 kB / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.6393, allocations: 0 / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.6395, allocations: 22.52 kB / 0.9567 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.6395, allocations: 5.094 kB / 0.9567 GB, free: 3.703 MB / 0.7169 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.0001048/0.6396, allocations: 142.3 kB / 0.9568 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.6397, allocations: 21.91 kB / 0.9568 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.6397, allocations: 31.23 kB / 0.9568 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6397, allocations: 7.094 kB / 0.9569 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6398, allocations: 0 / 0.9569 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6398, allocations: 0 / 0.9569 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.64, allocations: 306.1 kB / 0.9571 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.64, allocations: 4 kB / 0.9571 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.6403, allocations: 30.2 kB / 0.9572 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6403, allocations: 1.375 kB / 0.9572 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.6403, allocations: 11.77 kB / 0.9572 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6403, allocations: 11.92 kB / 0.9572 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6403, allocations: 3.938 kB / 0.9572 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.6408, allocations: 365.4 kB / 0.9576 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.6409, allocations: 122.4 kB / 0.9577 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.6409, allocations: 11.5 kB / 0.9577 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.6411, allocations: 9.516 kB / 0.9577 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.6412, allocations: 24.42 kB / 0.9577 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.6412, allocations: 3.062 kB / 0.9577 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002298/0.6414, allocations: 182.9 kB / 0.9579 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6414, allocations: 0 / 0.9579 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002803/0.6417, allocations: 48.84 kB / 0.9579 GB, free: 2.676 MB / 0.7169 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 9.856e-05/0.6418, allocations: 107 kB / 0.958 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.6422, allocations: 181.3 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6422, allocations: 1.062 kB / 0.9582 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.6423, allocations: 80.56 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.6427, allocations: 44.34 kB / 0.9583 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6438, allocations: 0.6838 MB / 0.959 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.644, allocations: 0.7538 MB / 0.9597 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.644, allocations: 23.19 kB / 0.9598 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.6441, allocations: 0 / 0.9598 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.004044/0.6481, allocations: 2.689 MB / 0.9624 GB, free: 15.83 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches