Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 99.31 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.001415/0.001415, 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.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 11.98 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5976/0.598, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002223/0.6002, allocations: 1.736 MB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.6018, allocations: 1.096 MB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.6019, allocations: 7.938 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.6022, allocations: 87.59 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.6023, allocations: 39.88 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.6028, allocations: 182.8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.603, allocations: 167.7 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.6032, allocations: 69.88 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.6033, allocations: 75.69 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.6034, allocations: 107.5 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.6035, allocations: 8 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.6037, allocations: 175.8 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.6038, allocations: 71.75 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.6039, allocations: 73.58 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.6043, allocations: 417 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6043, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6043, allocations: 3.938 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.6044, allocations: 0 / 1.025 GB, free: 12.79 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001046/0.6054, allocations: 0.7814 MB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6054, allocations: 8.031 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.6055, allocations: 35.53 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.6059, allocations: 311.3 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.606, allocations: 12.28 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.606, allocations: 19.98 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.6066, allocations: 306.7 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6066, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.6066, allocations: 8 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6066, allocations: 4 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.6073, allocations: 304.3 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.6083, allocations: 0.6834 MB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.6089, allocations: 250.6 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.6089, allocations: 0 / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.609, allocations: 38.56 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.609, allocations: 0 / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001464/0.6104, allocations: 0.943 MB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.6105, allocations: 136.5 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.6109, allocations: 376.4 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.611, allocations: 33.7 kB / 1.029 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.6111, allocations: 168.4 kB / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.6111, allocations: 47.38 kB / 1.029 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.6111, allocations: 3.938 kB / 1.029 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6113, allocations: 350.7 kB / 1.03 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.6117, allocations: 259.7 kB / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.6122, allocations: 253.5 kB / 1.03 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.6127, allocations: 418.1 kB / 1.031 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6127, allocations: 8 kB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001095/0.6138, allocations: 0.754 MB / 1.031 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.6139, allocations: 186.2 kB / 1.031 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6139, allocations: 0 / 1.031 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.614, allocations: 0 / 1.031 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.6141, allocations: 39.97 kB / 1.032 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6142, allocations: 3.938 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.6144, allocations: 59.66 kB / 1.032 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.6144, allocations: 12 kB / 1.032 GB, free: 5.598 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002112/0.6146, allocations: 258.9 kB / 1.032 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.6147, allocations: 27.62 kB / 1.032 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.6148, allocations: 30.94 kB / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6148, allocations: 0 / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6148, allocations: 0 / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6148, allocations: 0 / 1.032 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.6151, allocations: 349.3 kB / 1.032 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6151, allocations: 4 kB / 1.032 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.6153, allocations: 39.97 kB / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6153, allocations: 0 / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.6154, allocations: 8 kB / 1.032 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6154, allocations: 0 / 1.032 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6154, allocations: 0 / 1.032 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.6164, allocations: 0.658 MB / 1.033 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.6165, allocations: 112.6 kB / 1.033 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.6165, allocations: 8 kB / 1.033 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.6168, allocations: 39.97 kB / 1.033 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6169, allocations: 27.95 kB / 1.033 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.6169, allocations: 11.98 kB / 1.033 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002746/0.6172, allocations: 271 kB / 1.033 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6172, allocations: 0 / 1.033 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004071/0.6176, allocations: 104 kB / 1.033 GB, free: 3.547 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0002658/0.6179, allocations: 163.2 kB / 1.034 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.619, allocations: 0.8594 MB / 1.034 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.619, allocations: 0 / 1.034 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.6195, allocations: 398 kB / 1.035 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.6199, allocations: 67.52 kB / 1.035 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.6208, allocations: 0.7064 MB / 1.036 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.6212, allocations: 0.8025 MB / 1.036 GB, free: 400 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.993e-05/0.6213, allocations: 17.95 kB / 1.036 GB, free: 384 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.6213, allocations: 19.44 kB / 1.036 GB, free: 364 kB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.6213, allocations: 0 / 1.036 GB, free: 364 kB / 0.7794 GB Notification: Performance of Templates: time 0.008655/0.63, allocations: 5.269 MB / 1.042 GB, free: 11.17 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches