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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001526/0.001531, allocations: 107.2 kB / 16.27 MB, free: 5.98 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.001578/0.001578, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.963/1.963, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.73 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.276, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003777/0.2798, allocations: 2.091 MB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2818, allocations: 1.177 MB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.282, allocations: 4 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.2825, allocations: 115.3 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.2827, allocations: 51.56 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008409/0.2835, allocations: 255.5 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.284, allocations: 319.3 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.2842, allocations: 95.2 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2843, allocations: 111.6 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.2845, allocations: 127.5 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.2846, allocations: 28 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.285, allocations: 235.7 kB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2851, allocations: 87.73 kB / 0.9548 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.2853, allocations: 147.2 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.286, allocations: 0.5414 MB / 0.9555 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.286, allocations: 0 / 0.9555 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.286, allocations: 0 / 0.9555 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.286, allocations: 0 / 0.9555 GB, free: 3.504 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.00135/0.2874, allocations: 0.8127 MB / 0.9563 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2874, allocations: 12.03 kB / 0.9563 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.2875, allocations: 36.55 kB / 0.9564 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.2879, allocations: 312.5 kB / 0.9567 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2879, allocations: 12.66 kB / 0.9567 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.288, allocations: 20.12 kB / 0.9567 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.2886, allocations: 294.9 kB / 0.957 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2886, allocations: 0 / 0.957 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2887, allocations: 8 kB / 0.957 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2887, allocations: 3.984 kB / 0.957 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.2893, allocations: 268.4 kB / 0.9572 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.2903, allocations: 0.6834 MB / 0.9579 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.2909, allocations: 226.6 kB / 0.9581 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.2913, allocations: 192.7 kB / 0.9583 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.2913, allocations: 0 / 0.9583 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2914, allocations: 42.55 kB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2914, allocations: 0 / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.001382/0.2928, allocations: 0.6624 MB / 0.959 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.2929, allocations: 136.6 kB / 0.9591 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2933, allocations: 388.3 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2933, allocations: 33.7 kB / 0.9595 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2935, allocations: 172.2 kB / 0.9597 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.2935, allocations: 39.36 kB / 0.9597 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.2936, allocations: 53.83 kB / 0.9598 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2937, allocations: 346.7 kB / 0.9601 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.2942, allocations: 239.8 kB / 0.9603 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.2946, allocations: 235.9 kB / 0.9606 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.2956, allocations: 0.6818 MB / 0.9612 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2956, allocations: 0 / 0.9612 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00108/0.2967, allocations: 0.7278 MB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.2968, allocations: 186.1 kB / 0.9621 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2968, allocations: 0 / 0.9621 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2969, allocations: 0 / 0.9621 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.297, allocations: 31.97 kB / 0.9621 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.297, allocations: 0 / 0.9621 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.2973, allocations: 51.66 kB / 0.9622 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.2973, allocations: 4 kB / 0.9622 GB, free: 12.23 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.0002411/0.2975, allocations: 266.8 kB / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.2976, allocations: 27.62 kB / 0.9625 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.2977, allocations: 34.94 kB / 0.9625 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2977, allocations: 0 / 0.9625 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2977, allocations: 0 / 0.9625 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2977, allocations: 0 / 0.9625 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.2981, allocations: 349.3 kB / 0.9628 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2981, allocations: 0 / 0.9628 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2982, allocations: 35.91 kB / 0.9629 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2982, allocations: 0 / 0.9629 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.2983, allocations: 4 kB / 0.9629 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2983, allocations: 0 / 0.9629 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2983, allocations: 0 / 0.9629 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.2993, allocations: 0.6326 MB / 0.9635 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.2994, allocations: 108.7 kB / 0.9636 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.2994, allocations: 8 kB / 0.9636 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2996, allocations: 27.95 kB / 0.9636 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2998, allocations: 27.97 kB / 0.9637 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2998, allocations: 12 kB / 0.9637 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002722/0.3001, allocations: 271 kB / 0.9639 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.342e-06/0.3001, allocations: 0 / 0.9639 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003989/0.3005, allocations: 115.8 kB / 0.964 GB, free: 10.22 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.0003025/0.3008, allocations: 151.2 kB / 0.9642 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.302, allocations: 0.8399 MB / 0.965 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.302, allocations: 0 / 0.965 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.3025, allocations: 370.1 kB / 0.9654 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.303, allocations: 80.69 kB / 0.9654 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3041, allocations: 0.6882 MB / 0.9661 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.3045, allocations: 0.7907 MB / 0.9669 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.3045, allocations: 19.44 kB / 0.9669 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3045, allocations: 0 / 0.9669 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of Templates: time 0.008161/0.3127, allocations: 4.954 MB / 0.9717 GB, free: 2.195 MB / 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 -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