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.006983/0.006983, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001638/0.001638, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.752/2.752, allocations: 472.6 MB / 0.7453 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 63.91 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3157, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002858/0.3186, allocations: 1.796 MB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3197, allocations: 0.5881 MB / 1.228 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.3198, allocations: 0 / 1.228 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3199, allocations: 31.73 kB / 1.228 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.3203, allocations: 71.58 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.3205, allocations: 79.88 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.3208, allocations: 271.4 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.321, allocations: 40.2 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3211, allocations: 115.6 kB / 1.229 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3214, allocations: 131.5 kB / 1.229 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.3214, allocations: 20 kB / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.3215, allocations: 20 kB / 1.229 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3216, allocations: 67.81 kB / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3217, allocations: 103.3 kB / 1.229 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.322, allocations: 219 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.322, allocations: 0 / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.322, allocations: 0 / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.322, allocations: 0 / 1.229 GB, free: 5.625 MB / 0.9825 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.001055/0.323, allocations: 0.5489 MB / 1.23 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3231, allocations: 11.97 kB / 1.23 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.3232, allocations: 32.75 kB / 1.23 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.3236, allocations: 271 kB / 1.23 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3236, allocations: 20.31 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.3237, allocations: 16.33 kB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.324, allocations: 154 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.324, allocations: 0 / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.324, allocations: 0 / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.324, allocations: 12.23 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.3243, allocations: 140.6 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.3253, allocations: 0.5483 MB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.3256, allocations: 174.5 kB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3257, allocations: 72.77 kB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3258, allocations: 8 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3258, allocations: 34.56 kB / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.3258, allocations: 0 / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0005282/0.3263, allocations: 248.8 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3264, allocations: 55.34 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.3268, allocations: 245 kB / 1.232 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3268, allocations: 29.7 kB / 1.232 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3269, allocations: 136.6 kB / 1.232 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.327, allocations: 83.25 kB / 1.232 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.3271, allocations: 45.7 kB / 1.232 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3272, allocations: 334.8 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3274, allocations: 79.89 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3276, allocations: 80.83 kB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.3279, allocations: 175.8 kB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3279, allocations: 4 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004215/0.3283, allocations: 253.4 kB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3283, allocations: 4 kB / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3283, allocations: 0 / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3284, allocations: 0 / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3287, allocations: 71.83 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3287, allocations: 4 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3289, allocations: 19.88 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3289, allocations: 8 kB / 1.233 GB, free: 1.543 MB / 0.9825 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.000141/0.329, allocations: 142.3 kB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.3291, allocations: 19.86 kB / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.3292, allocations: 34.17 kB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3292, allocations: 3.938 kB / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3292, allocations: 0 / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3292, allocations: 7.922 kB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.3296, allocations: 301.4 kB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3296, allocations: 0 / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.3299, allocations: 35.98 kB / 1.233 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3299, allocations: 0 / 1.233 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.3299, allocations: 8 kB / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.3299, allocations: 3.938 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3299, allocations: 3.938 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.3305, allocations: 371.9 kB / 1.234 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3307, allocations: 124.9 kB / 1.234 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.3308, allocations: 11.94 kB / 1.234 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.331, allocations: 15.98 kB / 1.234 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.3311, allocations: 7.984 kB / 1.234 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3311, allocations: 4 kB / 1.234 GB, free: 384 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003155/0.3314, allocations: 184.4 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3314, allocations: 0 / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002924/0.3317, allocations: 55.95 kB / 1.234 GB, free: 144 kB / 0.9825 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.000181/0.3319, allocations: 105.8 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.3323, allocations: 189.6 kB / 1.234 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3323, allocations: 0 / 1.234 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.3326, allocations: 83.8 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.333, allocations: 42.3 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3343, allocations: 0.5963 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3346, allocations: 0.7593 MB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.3348, allocations: 49.5 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.3349, allocations: 19.44 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3349, allocations: 0 / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.005356/0.3403, allocations: 2.291 MB / 1.238 GB, free: 11.96 MB / 0.9981 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