Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.008195/0.008195, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001853/0.001853, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437 MB / 0.7106 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.91 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6807, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004038/0.6848, allocations: 2.152 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.6871, allocations: 1.228 MB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.6874, allocations: 4 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.6879, allocations: 95.55 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.6881, allocations: 35.72 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007744/0.6889, allocations: 208.8 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.6893, allocations: 263.3 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.6895, allocations: 93 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.6897, allocations: 87.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.6899, allocations: 127.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.6899, allocations: 16 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.6903, allocations: 203.7 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.6904, allocations: 79.73 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.6906, allocations: 139.2 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.6911, allocations: 411.1 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6911, allocations: 8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6911, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6911, allocations: 0 / 1.022 GB, free: 13.62 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.001437/0.6926, allocations: 0.8088 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6926, allocations: 11.98 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.6927, allocations: 36.55 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.6932, allocations: 320.4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6932, allocations: 12.66 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.6933, allocations: 24.38 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.6939, allocations: 291.2 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6939, allocations: 0 / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.694, allocations: 8 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.694, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.6946, allocations: 276.3 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6957, allocations: 0.6793 MB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.6963, allocations: 226.6 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.6967, allocations: 196.7 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.6967, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.6967, allocations: 34.55 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/0.6968, allocations: 112 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001342/0.6981, allocations: 0.6789 MB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.6982, allocations: 140.5 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.6986, allocations: 372.5 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.6987, allocations: 29.7 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.6988, allocations: 172.3 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.6988, allocations: 51.23 kB / 1.027 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.6989, allocations: 45.7 kB / 1.027 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6991, allocations: 342.8 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.6995, allocations: 243.7 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.7, allocations: 237.9 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.7009, allocations: 0.6773 MB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7009, allocations: 0 / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001079/0.702, allocations: 0.7355 MB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.7021, allocations: 182.2 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7021, allocations: 0 / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7022, allocations: 4 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.7023, allocations: 27.97 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7024, allocations: 4 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.7026, allocations: 39.72 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.7026, allocations: 12 kB / 1.029 GB, free: 6.352 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002391/0.7029, allocations: 263.3 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.703, allocations: 35.62 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.703, allocations: 26.94 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.703, allocations: 0 / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.703, allocations: 8 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7031, allocations: 0 / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.7034, allocations: 349.3 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7034, allocations: 3.938 kB / 1.03 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.7036, allocations: 27.97 kB / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7036, allocations: 0 / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.7037, allocations: 8 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.7037, allocations: 4 kB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7037, allocations: 0 / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.7047, allocations: 0.621 MB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.7048, allocations: 108.7 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.7048, allocations: 4 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.705, allocations: 31.95 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.7052, allocations: 27.97 kB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.7052, allocations: 8 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002999/0.7055, allocations: 271 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7055, allocations: 0 / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004421/0.706, allocations: 111.8 kB / 1.031 GB, free: 4.34 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 (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.0003489/0.7063, allocations: 156.9 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.7075, allocations: 0.836 MB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7075, allocations: 3.938 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.708, allocations: 374.1 kB / 1.032 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.7085, allocations: 73.81 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.7097, allocations: 0.7586 MB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.7101, allocations: 0.787 MB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.7102, allocations: 15.44 kB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7102, allocations: 0 / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of Templates: time 0.009126/0.7193, allocations: 4.948 MB / 1.039 GB, free: 12.26 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches