Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00139/0.00139, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7421 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 69.97 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2283, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003072/0.2314, allocations: 2.164 MB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2331, allocations: 1.153 MB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.145e-05/0.2332, allocations: 3.938 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.2335, allocations: 103.5 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.304e-05/0.2336, allocations: 35.72 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.2342, allocations: 234.1 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2346, allocations: 315.3 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2347, allocations: 106.9 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2348, allocations: 103.7 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.235, allocations: 139.4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.235, allocations: 28 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.2353, allocations: 219.7 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2354, allocations: 91.73 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2356, allocations: 151.2 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.2361, allocations: 0.5453 MB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2361, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2361, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2361, allocations: 3.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 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.001051/0.2372, allocations: 0.8088 MB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2372, allocations: 8.031 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.2373, allocations: 54.73 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.2374, allocations: 36.47 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.2377, allocations: 324.4 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2377, allocations: 12.66 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.2378, allocations: 20.38 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.2383, allocations: 295 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2383, allocations: 0 / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2384, allocations: 8 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2384, allocations: 4 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.239, allocations: 272.3 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.2399, allocations: 0.6684 MB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.2403, allocations: 230.6 kB / 1.071 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.2407, allocations: 192.7 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.2407, allocations: 4.047 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2408, allocations: 34.56 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2408, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001194/0.242, allocations: 0.6713 MB / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.2421, allocations: 136.5 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.2424, allocations: 380.5 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2425, allocations: 33.7 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2426, allocations: 164.3 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.2426, allocations: 47.36 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.2427, allocations: 45.7 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2429, allocations: 342.8 kB / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.2433, allocations: 235.8 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.2437, allocations: 243.8 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.2446, allocations: 0.6783 MB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2446, allocations: 4 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001021/0.2456, allocations: 0.7375 MB / 1.075 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.2457, allocations: 179.9 kB / 1.075 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2458, allocations: 4 kB / 1.075 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2458, allocations: 3.984 kB / 1.075 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.2459, allocations: 35.97 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2459, allocations: 3.938 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2461, allocations: 39.75 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.2462, allocations: 8 kB / 1.076 GB, free: 1.812 MB / 0.8262 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.0002208/0.2464, allocations: 258.8 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.2464, allocations: 35.56 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.2465, allocations: 34.94 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2465, allocations: 7.938 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2465, allocations: 4 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2465, allocations: 0 / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2469, allocations: 345.2 kB / 1.076 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2469, allocations: 0 / 1.076 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.247, allocations: 27.97 kB / 1.076 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.247, allocations: 4 kB / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.247, allocations: 0 / 1.076 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.247, allocations: 4 kB / 1.076 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.247, allocations: 4 kB / 1.076 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.2479, allocations: 0.6172 MB / 1.077 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.248, allocations: 108.8 kB / 1.077 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.2481, allocations: 15.94 kB / 1.077 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2483, allocations: 27.95 kB / 1.077 GB, free: 208 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.2484, allocations: 23.97 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.2484, allocations: 8 kB / 1.077 GB, free: 176 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002669/0.2487, allocations: 271 kB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2487, allocations: 0 / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003368/0.249, allocations: 103.9 kB / 1.077 GB, free: 15.8 MB / 0.8419 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.001324/0.2503, allocations: 1.226 MB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2514, allocations: 0.8411 MB / 1.079 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2515, allocations: 0 / 1.079 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.252, allocations: 382 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2523, allocations: 71.22 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.2578, allocations: 4.496 MB / 1.084 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.2582, allocations: 0.7908 MB / 1.085 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.016e-05/0.2583, allocations: 17.95 kB / 1.085 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2584, allocations: 95.41 kB / 1.085 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of SimCode: time 1.894e-06/0.2584, allocations: 0 / 1.085 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.295/2.553, allocations: 8.285 MB / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/2.554, allocations: 239.8 kB / 1.093 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.322/6.876, allocations: 0 / 1.093 GB, free: 15.31 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches