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.001313/0.001313, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001305/0.001305, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 14.98 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.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 64.19 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3108, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003753/0.3145, allocations: 2.101 MB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3167, allocations: 1.181 MB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.3169, allocations: 7.938 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.3174, allocations: 111.4 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.3176, allocations: 43.58 kB / 0.9545 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.3185, allocations: 267.4 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.3189, allocations: 323.2 kB / 0.9551 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3191, allocations: 94.98 kB / 0.9551 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3193, allocations: 107.6 kB / 0.9552 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.3194, allocations: 123.5 kB / 0.9554 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.3195, allocations: 32 kB / 0.9554 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.3199, allocations: 231.7 kB / 0.9556 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.32, allocations: 91.69 kB / 0.9557 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.3202, allocations: 155.1 kB / 0.9558 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007627/0.3209, allocations: 0.553 MB / 0.9564 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.321, allocations: 4 kB / 0.9564 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.312e-06/0.321, allocations: 0 / 0.9564 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.321, allocations: 0 / 0.9564 GB, free: 2.648 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.001275/0.3223, allocations: 0.801 MB / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3223, allocations: 12.03 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.13e-05/0.3224, allocations: 32.56 kB / 0.9572 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.3228, allocations: 320.4 kB / 0.9575 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3229, allocations: 12.66 kB / 0.9575 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.3229, allocations: 20.12 kB / 0.9576 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.3236, allocations: 298.9 kB / 0.9578 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3236, allocations: 0 / 0.9578 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.3236, allocations: 8 kB / 0.9578 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3237, allocations: 4 kB / 0.9579 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006354/0.3243, allocations: 272.3 kB / 0.9581 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3255, allocations: 0.6679 MB / 0.9588 GB, free: 48 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.326, allocations: 234.6 kB / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3264, allocations: 188.7 kB / 0.9592 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3264, allocations: 0 / 0.9592 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.3265, allocations: 38.56 kB / 0.9592 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3265, allocations: 0 / 0.9592 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.001324/0.3278, allocations: 0.6622 MB / 0.9598 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.3279, allocations: 140.5 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.3284, allocations: 388.4 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3284, allocations: 25.7 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3286, allocations: 168.3 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3286, allocations: 47.36 kB / 0.9606 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.3287, allocations: 41.7 kB / 0.9606 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3289, allocations: 346.7 kB / 0.961 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.3293, allocations: 240 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.3297, allocations: 247.7 kB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.3306, allocations: 0.6777 MB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3306, allocations: 4 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001079/0.3317, allocations: 0.7218 MB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.3318, allocations: 186.2 kB / 0.963 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3319, allocations: 0 / 0.963 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3319, allocations: 0 / 0.963 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3321, allocations: 31.97 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3321, allocations: 4 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3323, allocations: 47.66 kB / 0.963 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3324, allocations: 11.98 kB / 0.9631 GB, free: 11.39 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.0002553/0.3326, allocations: 254.9 kB / 0.9633 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.3327, allocations: 31.62 kB / 0.9633 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.3328, allocations: 34.94 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3328, allocations: 3.938 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3328, allocations: 0 / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3328, allocations: 3.984 kB / 0.9634 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.3332, allocations: 345.5 kB / 0.9637 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3332, allocations: 0 / 0.9637 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3334, allocations: 31.97 kB / 0.9637 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3334, allocations: 0 / 0.9637 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3334, allocations: 4 kB / 0.9637 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3334, allocations: 3.984 kB / 0.9637 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3334, allocations: 4 kB / 0.9637 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.3344, allocations: 0.6172 MB / 0.9643 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3345, allocations: 116.7 kB / 0.9645 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3345, allocations: 11.94 kB / 0.9645 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.3348, allocations: 27.97 kB / 0.9645 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3349, allocations: 27.91 kB / 0.9645 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.335, allocations: 8 kB / 0.9645 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002821/0.3352, allocations: 271 kB / 0.9648 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3352, allocations: 0 / 0.9648 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004261/0.3357, allocations: 111.8 kB / 0.9649 GB, free: 9.383 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.0002967/0.336, allocations: 159.2 kB / 0.965 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.3371, allocations: 0.8435 MB / 0.9659 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3372, allocations: 0 / 0.9659 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.3377, allocations: 374.1 kB / 0.9662 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.3382, allocations: 74.47 kB / 0.9663 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3393, allocations: 0.628 MB / 0.9669 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3397, allocations: 0.7868 MB / 0.9677 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.404e-05/0.3398, allocations: 21.95 kB / 0.9677 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.3399, allocations: 19.44 kB / 0.9677 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.3399, allocations: 0 / 0.9677 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of Templates: time 0.01069/0.3506, allocations: 5.961 MB / 0.9735 GB, free: 432 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 cvode -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