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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001211/0.001211, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001455/0.001455, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.567/2.567, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 11.94 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6215, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002031/0.6236, allocations: 1.475 MB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.6246, allocations: 0.5538 MB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.6247, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.6249, allocations: 15.86 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.6252, allocations: 63.78 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.6254, allocations: 67.89 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.6257, allocations: 159.6 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.6259, allocations: 28.3 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.6261, allocations: 87.66 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.6263, allocations: 119.5 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.6264, allocations: 8 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.6264, allocations: 12 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.6265, allocations: 59.8 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.6266, allocations: 53.58 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.6268, allocations: 157.6 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.6268, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6268, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.6268, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 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.001023/0.6278, allocations: 0.5023 MB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6279, allocations: 11.98 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.628, allocations: 27.62 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.6284, allocations: 265.6 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.6285, allocations: 15.84 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.6285, allocations: 16 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.6288, allocations: 158.2 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6288, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.6289, allocations: 4 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.6289, allocations: 8.234 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.6292, allocations: 144.6 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.6301, allocations: 0.5521 MB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.6305, allocations: 178.5 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.6305, allocations: 4 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6305, allocations: 34.5 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.225e-06/0.6305, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0005159/0.631, allocations: 263.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.6311, allocations: 59.41 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.6314, allocations: 244.9 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.6315, allocations: 29.7 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.6316, allocations: 128.6 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.6316, allocations: 74.98 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.6317, allocations: 4 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6318, allocations: 338.8 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.6319, allocations: 83.89 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.6321, allocations: 82.14 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.6323, allocations: 95.95 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6323, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004558/0.6328, allocations: 256.5 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6328, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6328, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6328, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.6331, allocations: 75.89 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6332, allocations: 3.984 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6333, allocations: 23.83 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.6334, allocations: 4 kB / 1.027 GB, free: 10.39 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.6335, allocations: 137.8 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.6336, allocations: 31.7 kB / 1.027 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.6336, allocations: 30.17 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6336, allocations: 4 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6336, allocations: 4 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6337, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.634, allocations: 301.4 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.634, allocations: 0 / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.6342, allocations: 39.91 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6342, allocations: 0 / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.6343, allocations: 8 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6343, allocations: 4 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6343, allocations: 0 / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.6348, allocations: 383.9 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.635, allocations: 116.8 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.635, allocations: 8 kB / 1.028 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.6352, allocations: 19.92 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.6353, allocations: 11.98 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6353, allocations: 4 kB / 1.028 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002932/0.6356, allocations: 180.5 kB / 1.028 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.7e-07/0.6356, allocations: 3.938 kB / 1.028 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000294/0.6359, allocations: 51.91 kB / 1.028 GB, free: 8.992 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.6361, allocations: 103.2 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.6365, allocations: 177.7 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6365, allocations: 0 / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.6366, allocations: 83.89 kB / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.637, allocations: 42.08 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6382, allocations: 0.6626 MB / 1.029 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.6386, allocations: 0.7674 MB / 1.03 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.6388, allocations: 45.5 kB / 1.03 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.6389, allocations: 19.44 kB / 1.03 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6389, allocations: 4 kB / 1.03 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of Templates: time 0.005159/0.644, allocations: 1.987 MB / 1.032 GB, free: 5.051 MB / 0.7794 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","../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches