Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001112/0.001112, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001062/0.001062, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.05 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2303, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003089/0.2334, allocations: 2.095 MB / 0.9532 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.235, allocations: 1.185 MB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.2351, allocations: 4 kB / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.2355, allocations: 111.4 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.21e-05/0.2356, allocations: 47.52 kB / 0.9545 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.2363, allocations: 259.5 kB / 0.9547 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.2366, allocations: 323.2 kB / 0.955 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2368, allocations: 103 kB / 0.9551 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2369, allocations: 103.7 kB / 0.9552 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.237, allocations: 135.4 kB / 0.9554 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.2371, allocations: 32 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.2374, allocations: 227.7 kB / 0.9556 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.2375, allocations: 87.73 kB / 0.9557 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2376, allocations: 147.2 kB / 0.9558 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.2382, allocations: 0.553 MB / 0.9564 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2382, allocations: 0 / 0.9564 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2382, allocations: 0 / 0.9564 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2382, allocations: 4 kB / 0.9564 GB, free: 2.668 MB / 0.7325 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.00107/0.2393, allocations: 0.8126 MB / 0.9572 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2393, allocations: 12.03 kB / 0.9572 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.2394, allocations: 32.56 kB / 0.9572 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.2398, allocations: 316.4 kB / 0.9575 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2398, allocations: 12.66 kB / 0.9575 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.2398, allocations: 20.12 kB / 0.9576 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2404, allocations: 298.8 kB / 0.9578 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2404, allocations: 0 / 0.9578 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2405, allocations: 8 kB / 0.9579 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2405, allocations: 4 kB / 0.9579 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.2411, allocations: 264.4 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.242, allocations: 0.6756 MB / 0.9588 GB, free: 60 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.2426, allocations: 230.6 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.2429, allocations: 188.7 kB / 0.9592 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.243, allocations: 0 / 0.9592 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.243, allocations: 34.56 kB / 0.9592 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/0.243, allocations: 3.938 kB / 0.9592 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.001263/0.2443, allocations: 0.674 MB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2444, allocations: 132.5 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.2447, allocations: 384.4 kB / 0.9604 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.2448, allocations: 33.7 kB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2449, allocations: 168.3 kB / 0.9605 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.2449, allocations: 47.34 kB / 0.9606 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.245, allocations: 45.7 kB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2451, allocations: 342.8 kB / 0.961 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.2456, allocations: 235.8 kB / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.246, allocations: 243.9 kB / 0.9614 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.2469, allocations: 0.6782 MB / 0.9621 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2469, allocations: 0 / 0.9621 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001035/0.2479, allocations: 0.7317 MB / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/0.248, allocations: 180.4 kB / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2481, allocations: 3.984 kB / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2481, allocations: 0 / 0.963 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2483, allocations: 35.97 kB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2483, allocations: 0 / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2485, allocations: 43.66 kB / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2485, allocations: 8 kB / 0.9631 GB, free: 11.41 MB / 0.7481 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.0002031/0.2487, allocations: 264.8 kB / 0.9633 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.2488, allocations: 31.62 kB / 0.9633 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.2488, allocations: 30.94 kB / 0.9634 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2489, allocations: 8 kB / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2489, allocations: 0 / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2489, allocations: 0 / 0.9634 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.2492, allocations: 341.5 kB / 0.9637 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2492, allocations: 4 kB / 0.9637 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2494, allocations: 23.97 kB / 0.9637 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2494, allocations: 7.938 kB / 0.9637 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2494, allocations: 7.984 kB / 0.9637 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2494, allocations: 4 kB / 0.9637 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2494, allocations: 4 kB / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.2503, allocations: 0.6241 MB / 0.9644 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.2504, allocations: 116.7 kB / 0.9645 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.2505, allocations: 8 kB / 0.9645 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.2507, allocations: 27.97 kB / 0.9645 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2508, allocations: 27.95 kB / 0.9645 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2509, allocations: 8 kB / 0.9645 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002597/0.2511, allocations: 275 kB / 0.9648 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2511, allocations: 0 / 0.9648 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003867/0.2515, allocations: 111.8 kB / 0.9649 GB, free: 9.395 MB / 0.7481 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.0002564/0.2518, allocations: 155.2 kB / 0.9651 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.2529, allocations: 0.836 MB / 0.9659 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2529, allocations: 0 / 0.9659 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.2534, allocations: 390 kB / 0.9662 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.2538, allocations: 64.98 kB / 0.9663 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.2548, allocations: 0.6359 MB / 0.9669 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.2551, allocations: 0.7829 MB / 0.9677 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.09e-05/0.2552, allocations: 25.94 kB / 0.9677 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.2553, allocations: 23.44 kB / 0.9677 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.2553, allocations: 0 / 0.9677 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of Templates: time 0.009657/0.2649, allocations: 5.953 MB / 0.9736 GB, free: 444 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches