Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002192/0.002192, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.003253/0.003253, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.688/1.688, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.708/3.708, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_12_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.002148/0.002148, allocations: 71.45 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4986, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003698/0.5023, allocations: 2.052 MB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.5043, allocations: 1.141 MB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.5044, allocations: 4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.5048, allocations: 111.6 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.5049, allocations: 51.52 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.5057, allocations: 264.6 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.506, allocations: 295.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.5062, allocations: 75.44 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.5063, allocations: 103.6 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.5065, allocations: 139.4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.5065, allocations: 28 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.507, allocations: 243.7 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.5073, allocations: 103.7 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.5075, allocations: 115.4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.5082, allocations: 0.5566 MB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5082, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5082, allocations: 7.938 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5082, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 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.001155/0.5094, allocations: 0.7486 MB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5094, allocations: 12.03 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.5095, allocations: 50.73 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.5095, allocations: 32.75 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.5099, allocations: 266.7 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.51, allocations: 12.66 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.51, allocations: 20.31 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.5107, allocations: 384.8 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.5107, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.5107, allocations: 12 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5107, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.5114, allocations: 357.5 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.5124, allocations: 0.5778 MB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.513, allocations: 311.7 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.5134, allocations: 269.8 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.5134, allocations: 3.938 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.5135, allocations: 38.56 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.5135, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001451/0.5149, allocations: 0.8499 MB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.515, allocations: 140.5 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.5154, allocations: 376.5 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.5154, allocations: 29.7 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.5156, allocations: 168.4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.5156, allocations: 51.59 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.5157, allocations: 49.7 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5159, allocations: 346.8 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.5164, allocations: 418 kB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.517, allocations: 427 kB / 1.337 GB, free: 5.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.518, allocations: 0.6933 MB / 1.337 GB, free: 5.121 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.518, allocations: 0 / 1.337 GB, free: 5.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001223/0.5192, allocations: 0.9212 MB / 1.338 GB, free: 4.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.5193, allocations: 186.2 kB / 1.338 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5193, allocations: 0 / 1.338 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5194, allocations: 0 / 1.338 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.5195, allocations: 31.97 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5195, allocations: 11.94 kB / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.5198, allocations: 43.8 kB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5198, allocations: 4 kB / 1.339 GB, free: 3.812 MB / 1.029 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.0002727/0.5201, allocations: 262.8 kB / 1.339 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.5201, allocations: 35.77 kB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.5202, allocations: 30.81 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5202, allocations: 0 / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5202, allocations: 0 / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5202, allocations: 7.984 kB / 1.339 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.5206, allocations: 276.5 kB / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5206, allocations: 0 / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.5207, allocations: 27.97 kB / 1.339 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5207, allocations: 0 / 1.339 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5207, allocations: 4 kB / 1.339 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5207, allocations: 0 / 1.339 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5208, allocations: 7.938 kB / 1.339 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.522, allocations: 0.717 MB / 1.34 GB, free: 2.324 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.522, allocations: 39.73 kB / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.5221, allocations: 4 kB / 1.34 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.5223, allocations: 27.97 kB / 1.34 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.5225, allocations: 27.97 kB / 1.34 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.5225, allocations: 8 kB / 1.34 GB, free: 2.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000325/0.5228, allocations: 275 kB / 1.34 GB, free: 1.953 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5228, allocations: 0 / 1.34 GB, free: 1.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004654/0.5233, allocations: 103.8 kB / 1.34 GB, free: 1.852 MB / 1.029 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.001844/0.5251, allocations: 1.315 MB / 1.342 GB, free: 488 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.5265, allocations: 1.089 MB / 1.343 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5265, allocations: 0 / 1.343 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.527, allocations: 459.2 kB / 1.343 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.5275, allocations: 65.34 kB / 1.343 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007236/0.5347, allocations: 5.303 MB / 1.348 GB, free: 9.098 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.5349, allocations: 174.1 kB / 1.349 GB, free: 8.91 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.535, allocations: 25.94 kB / 1.349 GB, free: 8.883 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.5352, allocations: 91.41 kB / 1.349 GB, free: 8.797 MB / 1.045 GB Notification: Performance of SimCode: time 1.543e-06/0.5352, allocations: 0 / 1.349 GB, free: 8.797 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.5764, allocations: 9.815 MB / 1.358 GB, free: 15.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.88, allocations: 13.72 kB / 1.358 GB, free: 15.22 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.35263396499795]