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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_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.001318/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001324/0.001324, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.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.109/2.109, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5077, allocations: 140.3 MB / 0.949 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002541/0.5103, allocations: 2.151 MB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.5116, allocations: 1.218 MB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.5117, allocations: 2.312 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.512, allocations: 109.2 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.5121, allocations: 35.27 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.5126, allocations: 209.2 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.5128, allocations: 263.1 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.5129, allocations: 98.73 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.513, allocations: 88.72 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.5131, allocations: 116.1 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.5132, allocations: 13.81 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.5134, allocations: 210.6 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.5135, allocations: 86.89 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.5136, allocations: 133.1 kB / 0.9536 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.514, allocations: 0.5229 MB / 0.9542 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.514, allocations: 0 / 0.9542 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.514, allocations: 1.125 kB / 0.9542 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.514, allocations: 0 / 0.9542 GB, free: 5.328 MB / 0.7169 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.0008389/0.5149, allocations: 0.8167 MB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.5149, allocations: 9.156 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.5149, allocations: 49.08 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.515, allocations: 34.5 kB / 0.955 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.5153, allocations: 316.6 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5153, allocations: 12.44 kB / 0.9554 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.5153, allocations: 24.78 kB / 0.9554 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.5159, allocations: 296.8 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5159, allocations: 1.375 kB / 0.9557 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.5159, allocations: 6.375 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5159, allocations: 3.375 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.5165, allocations: 266 kB / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/0.5172, allocations: 0.6828 MB / 0.9566 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/0.5177, allocations: 224.1 kB / 0.9568 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.518, allocations: 189.2 kB / 0.957 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.5181, allocations: 9.344 kB / 0.957 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.5181, allocations: 35.94 kB / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5181, allocations: 0 / 0.957 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.00114/0.5192, allocations: 0.6632 MB / 0.9577 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5193, allocations: 141 kB / 0.9578 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.5196, allocations: 380.1 kB / 0.9582 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5196, allocations: 35.98 kB / 0.9582 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.5197, allocations: 167.8 kB / 0.9584 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.5197, allocations: 47.05 kB / 0.9584 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.5198, allocations: 50.45 kB / 0.9585 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.5199, allocations: 347.3 kB / 0.9588 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.5203, allocations: 235.9 kB / 0.959 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.5207, allocations: 241.7 kB / 0.9592 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/0.5214, allocations: 0.6803 MB / 0.9599 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5214, allocations: 0 / 0.9599 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008966/0.5223, allocations: 0.7335 MB / 0.9606 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.5224, allocations: 182.1 kB / 0.9608 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.5224, allocations: 0 / 0.9608 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5224, allocations: 0 / 0.9608 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5226, allocations: 26.66 kB / 0.9608 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5226, allocations: 5.375 kB / 0.9608 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5228, allocations: 48.56 kB / 0.9609 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5228, allocations: 10.69 kB / 0.9609 GB, free: 292 kB / 0.7169 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.0001431/0.523, allocations: 260.5 kB / 0.9611 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.523, allocations: 30.72 kB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.5231, allocations: 27.44 kB / 0.9612 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5231, allocations: 1.25 kB / 0.9612 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5231, allocations: 1.156 kB / 0.9612 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.5231, allocations: 0 / 0.9612 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.5234, allocations: 355.2 kB / 0.9615 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5234, allocations: 5.375 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.5236, allocations: 26.81 kB / 0.9616 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5236, allocations: 1.094 kB / 0.9616 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.5236, allocations: 4.094 kB / 0.9616 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5236, allocations: 0 / 0.9616 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5236, allocations: 1.25 kB / 0.9616 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.5245, allocations: 0.6302 MB / 0.9622 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.5246, allocations: 105.5 kB / 0.9623 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.5247, allocations: 4.312 kB / 0.9623 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.5249, allocations: 31.95 kB / 0.9623 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.525, allocations: 30.09 kB / 0.9623 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.525, allocations: 5.312 kB / 0.9624 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002579/0.5253, allocations: 273.6 kB / 0.9626 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5253, allocations: 0 / 0.9626 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003686/0.5256, allocations: 109.4 kB / 0.9627 GB, free: 14.89 MB / 0.7325 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.001292/0.5269, allocations: 1.218 MB / 0.9639 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.528, allocations: 0.8454 MB / 0.9647 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.528, allocations: 0 / 0.9647 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.5285, allocations: 379.5 kB / 0.9651 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.5289, allocations: 70.14 kB / 0.9652 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.5344, allocations: 4.489 MB / 0.9695 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.5347, allocations: 0.7883 MB / 0.9703 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.029e-05/0.5348, allocations: 18.61 kB / 0.9703 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5349, allocations: 93.36 kB / 0.9704 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5349, allocations: 0 / 0.9704 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3282/0.8632, allocations: 8.051 MB / 0.9783 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.8634, allocations: 232.9 kB / 0.9785 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.707, allocations: 2.531 kB / 0.9785 GB, free: 3.281 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > 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