Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_10_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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001149/0.001149, allocations: 191 kB / 16.25 MB, free: 6.637 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 0.8689 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5126, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002788/0.5154, allocations: 2.156 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.5168, allocations: 1.162 MB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.5169, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.5172, allocations: 99.55 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.224e-05/0.5173, allocations: 39.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.5179, allocations: 237.9 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.5182, allocations: 315.3 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.5183, allocations: 99.03 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.5184, allocations: 99.69 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.5185, allocations: 131.4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.5186, allocations: 35.94 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.5189, allocations: 227.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.519, allocations: 91.73 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.5191, allocations: 147.2 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.5196, allocations: 0.5453 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5196, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5196, allocations: 3.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5196, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 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.0009308/0.5205, allocations: 0.7971 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5206, allocations: 8.031 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.5206, allocations: 50.73 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.5207, allocations: 32.56 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.521, allocations: 320.4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.521, allocations: 12.66 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.521, allocations: 24.38 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.5216, allocations: 295 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5216, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.5216, allocations: 12 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5216, allocations: 0 / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.5222, allocations: 272.4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.523, allocations: 0.6832 MB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.5234, allocations: 226.6 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.5238, allocations: 196.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5238, allocations: 4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5239, allocations: 38.5 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5239, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001159/0.525, allocations: 0.6701 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.5251, allocations: 136.5 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.5255, allocations: 380.5 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.5255, allocations: 33.69 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5256, allocations: 168.3 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.5256, allocations: 47.3 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.5257, allocations: 45.7 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5258, allocations: 342.8 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.5262, allocations: 247.7 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.5266, allocations: 235.8 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.5274, allocations: 0.6812 MB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5274, allocations: 4 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009277/0.5284, allocations: 0.7199 MB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.5285, allocations: 186.2 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.5285, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.5285, allocations: 0 / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5287, allocations: 31.97 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5287, allocations: 0 / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5289, allocations: 47.72 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.5289, allocations: 4 kB / 1.029 GB, free: 6.055 MB / 0.7794 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.0001888/0.5291, allocations: 266.8 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.5291, allocations: 35.55 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.5292, allocations: 34.94 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5292, allocations: 0 / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5292, allocations: 0 / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5292, allocations: 0 / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.5295, allocations: 353.3 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5295, allocations: 0 / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.5297, allocations: 31.97 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.5297, allocations: 0 / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5297, allocations: 4 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5297, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5297, allocations: 4 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.5305, allocations: 0.6249 MB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.5306, allocations: 104.7 kB / 1.03 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.5307, allocations: 12 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5309, allocations: 31.95 kB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.531, allocations: 27.97 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.531, allocations: 4 kB / 1.03 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002458/0.5312, allocations: 275 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5312, allocations: 0 / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003313/0.5316, allocations: 111.8 kB / 1.031 GB, free: 4.031 MB / 0.7794 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.001205/0.5328, allocations: 1.221 MB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.5338, allocations: 0.8438 MB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5338, allocations: 0 / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.5343, allocations: 370.1 kB / 1.033 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.5346, allocations: 70.12 kB / 1.033 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.5398, allocations: 4.478 MB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.5401, allocations: 0.7909 MB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.908e-05/0.5402, allocations: 17.95 kB / 1.038 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5403, allocations: 99.34 kB / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.5403, allocations: 0 / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.418/5.958, allocations: 8.295 MB / 1.047 GB, free: 3.812 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/5.958, allocations: 237 kB / 1.047 GB, free: 3.562 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/8.278, allocations: 0 / 1.047 GB, free: 3.562 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches