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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001745/0.001745, 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.00199/0.00199, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6966, allocations: 140.3 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.004127/0.7008, allocations: 1.8 MB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.7021, allocations: 0.5789 MB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.7022, allocations: 1.281 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.7024, allocations: 26.61 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.7029, allocations: 70.42 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.7031, allocations: 87.55 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.7035, allocations: 266.4 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.7037, allocations: 38.12 kB / 0.9524 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.7039, allocations: 105.2 kB / 0.9525 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.7041, allocations: 140.9 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.7042, allocations: 17.44 kB / 0.9526 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.7042, allocations: 22.16 kB / 0.9526 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.7044, allocations: 75.7 kB / 0.9527 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.7045, allocations: 91.36 kB / 0.9528 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.7048, allocations: 215.2 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7048, allocations: 1.688 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.654e-06/0.7048, allocations: 0 / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.7049, allocations: 0 / 0.953 GB, free: 6.512 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.001202/0.7061, allocations: 0.5306 MB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.7061, allocations: 10.16 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.7062, allocations: 24.94 kB / 0.9535 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.7067, allocations: 278.7 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7067, allocations: 9.438 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.7068, allocations: 25.59 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.7071, allocations: 147.4 kB / 0.954 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7071, allocations: 0 / 0.954 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7071, allocations: 5.125 kB / 0.954 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.7071, allocations: 8.734 kB / 0.954 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.7075, allocations: 143.4 kB / 0.9541 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.7084, allocations: 0.5495 MB / 0.9547 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.7087, allocations: 174.2 kB / 0.9548 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.7088, allocations: 74.7 kB / 0.9549 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.7089, allocations: 5.344 kB / 0.9549 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.7089, allocations: 39.97 kB / 0.955 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.113e-06/0.7089, allocations: 0 / 0.955 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.000496/0.7094, allocations: 252.2 kB / 0.9552 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.7094, allocations: 57.44 kB / 0.9553 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.7098, allocations: 247.6 kB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.7098, allocations: 30.77 kB / 0.9555 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.7099, allocations: 133.9 kB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.71, allocations: 67.56 kB / 0.9557 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.71, allocations: 50.61 kB / 0.9558 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.7101, allocations: 334 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.7103, allocations: 77.36 kB / 0.9562 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7104, allocations: 87.41 kB / 0.9562 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.7107, allocations: 183.2 kB / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7107, allocations: 0 / 0.9564 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003777/0.7111, allocations: 250.2 kB / 0.9566 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7111, allocations: 7.5 kB / 0.9567 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.7112, allocations: 0 / 0.9567 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7112, allocations: 1.719 kB / 0.9567 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.7115, allocations: 68.09 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7115, allocations: 0 / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.7117, allocations: 27.08 kB / 0.9567 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.7117, allocations: 5.625 kB / 0.9568 GB, free: 3.602 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.0001259/0.7118, allocations: 140.5 kB / 0.9569 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.7119, allocations: 22.47 kB / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.712, allocations: 27.55 kB / 0.9569 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.712, allocations: 7.531 kB / 0.9569 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.712, allocations: 0 / 0.9569 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.712, allocations: 0 / 0.9569 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.7123, allocations: 305.2 kB / 0.9572 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7123, allocations: 4 kB / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.7125, allocations: 30.11 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.7126, allocations: 1.375 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.7126, allocations: 12.11 kB / 0.9573 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7126, allocations: 3.938 kB / 0.9573 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7126, allocations: 5.312 kB / 0.9573 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.7131, allocations: 370.4 kB / 0.9576 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.7132, allocations: 126.4 kB / 0.9578 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.7133, allocations: 10.69 kB / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.7135, allocations: 13.36 kB / 0.9578 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.7135, allocations: 9.328 kB / 0.9578 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.7135, allocations: 2.656 kB / 0.9578 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002612/0.7138, allocations: 181.4 kB / 0.958 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7138, allocations: 1 kB / 0.958 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000298/0.7141, allocations: 48.88 kB / 0.958 GB, free: 2.586 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 0.0001285/0.7143, allocations: 114.7 kB / 0.9581 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.7147, allocations: 198.9 kB / 0.9583 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7147, allocations: 1.094 kB / 0.9583 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.7149, allocations: 81.09 kB / 0.9584 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.7153, allocations: 49.77 kB / 0.9584 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.7164, allocations: 0.5786 MB / 0.959 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.7167, allocations: 0.7679 MB / 0.9598 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.7168, allocations: 45.81 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.7169, allocations: 18.91 kB / 0.9598 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7169, allocations: 0 / 0.9598 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of Templates: time 0.005185/0.7221, allocations: 2.236 MB / 0.962 GB, free: 96 kB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches