Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_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.0007539/0.0007539, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004284/0.004284, allocations: 169.5 kB / 16.26 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 443.4 MB / 0.7176 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 9.906 kB / 0.8797 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2416, allocations: 155.2 MB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002032/0.2436, allocations: 1.797 MB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2453, allocations: 1.208 MB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.2454, allocations: 4 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.2457, allocations: 107.8 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.2458, allocations: 35.7 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.2463, allocations: 210.7 kB / 1.035 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2466, allocations: 267.2 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2467, allocations: 86.98 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.2468, allocations: 79.7 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2469, allocations: 99.47 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.247, allocations: 16 kB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.2473, allocations: 195.7 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.2474, allocations: 75.73 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2475, allocations: 152.9 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.248, allocations: 0.5179 MB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.248, allocations: 0 / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.248, allocations: 0 / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.248, allocations: 0 / 1.036 GB, free: 15.29 MB / 0.795 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.0009198/0.2489, allocations: 0.7671 MB / 1.037 GB, free: 14.44 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.249, allocations: 8.031 kB / 1.037 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.249, allocations: 50.73 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.2491, allocations: 40.47 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2494, allocations: 324.4 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2495, allocations: 16.59 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.2495, allocations: 16.38 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.2501, allocations: 315 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2501, allocations: 0 / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2502, allocations: 11.92 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2502, allocations: 4 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.2509, allocations: 304.4 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.2517, allocations: 0.6794 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.2523, allocations: 246.6 kB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.2527, allocations: 208.9 kB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2527, allocations: 4 kB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.2528, allocations: 30.56 kB / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.2528, allocations: 0 / 1.039 GB, free: 12.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.001354/0.2541, allocations: 0.7246 MB / 1.04 GB, free: 11.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2542, allocations: 144.6 kB / 1.04 GB, free: 11.17 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.2546, allocations: 380.4 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2546, allocations: 29.7 kB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2547, allocations: 168.3 kB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.2548, allocations: 35.45 kB / 1.04 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.2548, allocations: 29.72 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2549, allocations: 346.7 kB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.2554, allocations: 247.9 kB / 1.041 GB, free: 9.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.2558, allocations: 259.8 kB / 1.041 GB, free: 9.668 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009344/0.2568, allocations: 0.7085 MB / 1.042 GB, free: 8.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2568, allocations: 4 kB / 1.042 GB, free: 8.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001093/0.2579, allocations: 0.7628 MB / 1.043 GB, free: 8.094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.258, allocations: 182.2 kB / 1.043 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.258, allocations: 0 / 1.043 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.258, allocations: 0 / 1.043 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2582, allocations: 43.97 kB / 1.043 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2582, allocations: 0 / 1.043 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2585, allocations: 59.64 kB / 1.043 GB, free: 7.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2585, allocations: 12 kB / 1.043 GB, free: 7.766 MB / 0.795 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.000195/0.2587, allocations: 264.3 kB / 1.043 GB, free: 7.48 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.2588, allocations: 27.72 kB / 1.043 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.2588, allocations: 30.94 kB / 1.043 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2588, allocations: 3.984 kB / 1.043 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2589, allocations: 4 kB / 1.043 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2589, allocations: 0 / 1.043 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.2592, allocations: 345.2 kB / 1.044 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2592, allocations: 0 / 1.044 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.2594, allocations: 43.95 kB / 1.044 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2594, allocations: 3.938 kB / 1.044 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2594, allocations: 4 kB / 1.044 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2594, allocations: 0 / 1.044 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2594, allocations: 8 kB / 1.044 GB, free: 6.973 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.2604, allocations: 0.66 MB / 1.044 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.2605, allocations: 116.7 kB / 1.044 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.2605, allocations: 8 kB / 1.044 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.2608, allocations: 35.97 kB / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.2609, allocations: 27.97 kB / 1.044 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2609, allocations: 4 kB / 1.044 GB, free: 6.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002723/0.2612, allocations: 279 kB / 1.045 GB, free: 5.797 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2612, allocations: 0 / 1.045 GB, free: 5.797 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000368/0.2615, allocations: 96 kB / 1.045 GB, free: 5.703 MB / 0.795 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.001368/0.2629, allocations: 1.259 MB / 1.046 GB, free: 4.398 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.2641, allocations: 0.8676 MB / 1.047 GB, free: 3.457 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2641, allocations: 3.938 kB / 1.047 GB, free: 3.453 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.2646, allocations: 398 kB / 1.047 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.265, allocations: 65.39 kB / 1.047 GB, free: 2.965 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.2707, allocations: 4.575 MB / 1.052 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.271, allocations: 0.787 MB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.81e-05/0.2711, allocations: 17.95 kB / 1.053 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2712, allocations: 87.41 kB / 1.053 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.2712, allocations: 4 kB / 1.053 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.527/0.7982, allocations: 7.955 MB / 1.06 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/0.7986, allocations: 241.6 kB / 1.061 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.765, allocations: 3.938 kB / 1.061 GB, free: 5.414 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches