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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.445/3.445, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 66.17 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5104, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.005208/0.5156, allocations: 2.155 MB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.5186, allocations: 1.219 MB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.5189, allocations: 7.938 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.5195, allocations: 119.6 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.5197, allocations: 59.52 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.5208, allocations: 247.5 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.5214, allocations: 307.3 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.5217, allocations: 71.47 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.5219, allocations: 107.6 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.5222, allocations: 135.5 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-05/0.5222, allocations: 28 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.5228, allocations: 251.7 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.5229, allocations: 87.73 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.5232, allocations: 159.1 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.5241, allocations: 0.5566 MB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5241, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5241, allocations: 0 / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.5241, allocations: 4 kB / 1.358 GB, free: 2.957 MB / 1.045 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.001725/0.5259, allocations: 0.7447 MB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5259, allocations: 8.031 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.54e-05/0.526, allocations: 54.73 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.5261, allocations: 32.75 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.5266, allocations: 278.7 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.5266, allocations: 16.41 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.5267, allocations: 16 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.5274, allocations: 290.8 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5274, allocations: 3.938 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5274, allocations: 8 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5274, allocations: 4 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.5281, allocations: 276.3 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5293, allocations: 0.6288 MB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.5299, allocations: 222.6 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.5303, allocations: 192.7 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5303, allocations: 0 / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5304, allocations: 30.56 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.5304, allocations: 0 / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.001495/0.5319, allocations: 0.6701 MB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.532, allocations: 136.5 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.5325, allocations: 376.5 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.5325, allocations: 33.69 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5327, allocations: 168.3 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.5327, allocations: 43.64 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.5328, allocations: 49.7 kB / 1.362 GB, free: 14.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.533, allocations: 342.8 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.5335, allocations: 239.8 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.534, allocations: 235.8 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.5351, allocations: 0.6782 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5351, allocations: 3.938 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001202/0.5363, allocations: 0.7359 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/0.5364, allocations: 186.2 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5364, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.5364, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5366, allocations: 27.97 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.5366, allocations: 4 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.5369, allocations: 47.69 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.5369, allocations: 12 kB / 1.365 GB, free: 11.84 MB / 1.061 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.0003018/0.5372, allocations: 267.5 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.5373, allocations: 31.75 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.536e-05/0.5373, allocations: 30.88 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5374, allocations: 0 / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5374, allocations: 0 / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5374, allocations: 3.938 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.5378, allocations: 316.6 kB / 1.365 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5378, allocations: 0 / 1.365 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.538, allocations: 31.97 kB / 1.365 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.538, allocations: 3.984 kB / 1.365 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.538, allocations: 12 kB / 1.365 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.538, allocations: 0 / 1.365 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.538, allocations: 7.938 kB / 1.365 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5391, allocations: 0.6212 MB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.5392, allocations: 39.7 kB / 1.366 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.5393, allocations: 7.938 kB / 1.366 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.5395, allocations: 31.95 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5396, allocations: 27.97 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.5396, allocations: 15.88 kB / 1.366 GB, free: 10.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003517/0.54, allocations: 271 kB / 1.366 GB, free: 10.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.54, allocations: 0 / 1.366 GB, free: 10.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004788/0.5405, allocations: 103.9 kB / 1.367 GB, free: 9.926 MB / 1.061 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.001714/0.5422, allocations: 1.205 MB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.5435, allocations: 0.8204 MB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5435, allocations: 0 / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.5441, allocations: 366.3 kB / 1.369 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.5446, allocations: 75.06 kB / 1.369 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00783/0.5524, allocations: 4.449 MB / 1.373 GB, free: 2.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.5529, allocations: 0.7831 MB / 1.374 GB, free: 1.941 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.5531, allocations: 21.94 kB / 1.374 GB, free: 1.922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5532, allocations: 91.41 kB / 1.374 GB, free: 1.832 MB / 1.061 GB Notification: Performance of SimCode: time 1.973e-06/0.5532, allocations: 0 / 1.374 GB, free: 1.832 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.6019, allocations: 8.896 MB / 1.383 GB, free: 9.18 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.17, allocations: 3.203 kB / 1.383 GB, free: 9.18 MB / 1.076 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.721255121054128]