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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001484/0.001484, allocations: 108 kB / 15.61 MB, free: 152 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.001798/0.001798, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002242, allocations: 56.09 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5885/0.5907, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003378/0.5941, allocations: 2.097 MB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.5961, allocations: 1.169 MB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.5962, allocations: 7.938 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.5967, allocations: 119.3 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.5968, allocations: 43.58 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.5975, allocations: 259.4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.5978, allocations: 323.2 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.598, allocations: 96.95 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.5982, allocations: 107.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.5983, allocations: 131.4 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.5984, allocations: 28 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.5987, allocations: 219.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.5988, allocations: 95.73 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.599, allocations: 155.2 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.5996, allocations: 0.5491 MB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5996, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5996, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5996, allocations: 0 / 1.023 GB, free: 13.12 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.001112/0.6007, allocations: 0.8049 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6008, allocations: 11.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.6008, allocations: 32.56 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.6012, allocations: 324.4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6013, allocations: 16.66 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.6013, allocations: 16.38 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.6019, allocations: 291.2 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6019, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.6019, allocations: 8 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.6019, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.6026, allocations: 264.4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009353/0.6035, allocations: 0.6832 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.6041, allocations: 230.6 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.6045, allocations: 188.7 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.6045, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.6045, allocations: 34.56 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.6045, allocations: 4 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001299/0.6058, allocations: 0.6702 MB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.6059, allocations: 140.5 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.6063, allocations: 380.4 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6063, allocations: 29.7 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.6064, allocations: 164.3 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.6065, allocations: 55.28 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.6066, allocations: 49.7 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6067, allocations: 350.7 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.6071, allocations: 239.7 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.6075, allocations: 239.9 kB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.6084, allocations: 0.6769 MB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6085, allocations: 0 / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001032/0.6095, allocations: 0.7353 MB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.6096, allocations: 182.2 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6096, allocations: 0 / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6096, allocations: 0 / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.6098, allocations: 31.97 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6098, allocations: 0 / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.6101, allocations: 39.72 kB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6101, allocations: 8 kB / 1.029 GB, free: 5.848 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.0002003/0.6103, allocations: 262.8 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.6104, allocations: 31.62 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.6104, allocations: 30.94 kB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6104, allocations: 7.984 kB / 1.03 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6104, allocations: 0 / 1.03 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6104, allocations: 0 / 1.03 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.6108, allocations: 349.3 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6108, allocations: 0 / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.6109, allocations: 35.91 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.611, allocations: 4 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.611, allocations: 4 kB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.611, allocations: 0 / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.611, allocations: 0 / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.6119, allocations: 0.6288 MB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.612, allocations: 108.7 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.612, allocations: 12 kB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.6123, allocations: 23.97 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.6124, allocations: 23.97 kB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.6124, allocations: 11.98 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002613/0.6127, allocations: 279 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6127, allocations: 0 / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003848/0.6131, allocations: 103.9 kB / 1.031 GB, free: 3.828 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.0002733/0.6133, allocations: 155.2 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.6144, allocations: 0.8399 MB / 1.032 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6145, allocations: 4 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.6149, allocations: 370.1 kB / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.6153, allocations: 74.67 kB / 1.032 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.6162, allocations: 0.6509 MB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6166, allocations: 0.7831 MB / 1.034 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.495e-05/0.6167, allocations: 21.94 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.6167, allocations: 23.44 kB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6168, allocations: 0 / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of Templates: time 0.009397/0.6262, allocations: 5.959 MB / 1.04 GB, free: 10.86 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/jenkins/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