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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001411/0.001411, 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.001659/0.001659, allocations: 192.5 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.489, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00313/0.4921, allocations: 2.148 MB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.4939, allocations: 1.216 MB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.4941, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.4945, allocations: 111.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.99e-05/0.4946, allocations: 31.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.4951, allocations: 203.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.4954, allocations: 267.2 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.4956, allocations: 93.28 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.4957, allocations: 83.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.4958, allocations: 131.4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.4959, allocations: 12 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.4962, allocations: 207.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.4963, allocations: 83.73 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.4964, allocations: 131.2 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.4969, allocations: 0.5219 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4969, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.01e-07/0.4969, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4969, allocations: 0 / 1.022 GB, free: 13.54 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.001064/0.498, allocations: 0.8049 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.498, allocations: 12.03 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.4981, allocations: 46.73 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.4982, allocations: 36.56 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.4985, allocations: 324.4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4986, allocations: 16.59 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.4986, allocations: 16.38 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.4991, allocations: 299 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4992, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.4992, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4992, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.4998, allocations: 276.4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.5007, allocations: 0.6832 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.5012, allocations: 222.6 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.5016, allocations: 196.7 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.5016, allocations: 112 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5016, allocations: 38.5 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.5016, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001233/0.5029, allocations: 0.6774 MB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.503, allocations: 136.5 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.5033, allocations: 376.5 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.5034, allocations: 29.7 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5035, allocations: 168.3 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.5035, allocations: 43.3 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.5036, allocations: 53.7 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5037, allocations: 342.8 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.5042, allocations: 247.6 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.5046, allocations: 233.9 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008718/0.5055, allocations: 0.6812 MB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5055, allocations: 0 / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001002/0.5065, allocations: 0.7335 MB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.5066, allocations: 182.2 kB / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5066, allocations: 0 / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.5066, allocations: 0 / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.5068, allocations: 35.89 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5068, allocations: 4 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.507, allocations: 47.72 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.507, allocations: 8 kB / 1.029 GB, free: 6.199 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.0002046/0.5072, allocations: 262.8 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.5073, allocations: 27.62 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.5074, allocations: 30.94 kB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5074, allocations: 0 / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5074, allocations: 3.938 kB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5074, allocations: 0 / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.5077, allocations: 349.3 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5077, allocations: 4 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.5079, allocations: 27.97 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5079, allocations: 0 / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.5079, allocations: 8 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5079, allocations: 7.922 kB / 1.029 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5079, allocations: 0 / 1.029 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.5088, allocations: 0.6211 MB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.5089, allocations: 112.7 kB / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.5089, allocations: 4 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.5091, allocations: 27.97 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.5092, allocations: 23.97 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.5093, allocations: 15.98 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002619/0.5095, allocations: 267 kB / 1.03 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5096, allocations: 4 kB / 1.03 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004079/0.51, allocations: 103.8 kB / 1.03 GB, free: 4.195 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.001314/0.5113, allocations: 1.225 MB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.5123, allocations: 0.836 MB / 1.032 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5123, allocations: 0 / 1.032 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.5129, allocations: 378.1 kB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.5133, allocations: 68.33 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.5188, allocations: 4.487 MB / 1.037 GB, free: 12.94 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.5191, allocations: 0.787 MB / 1.038 GB, free: 12.13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.144e-05/0.5192, allocations: 21.95 kB / 1.038 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5193, allocations: 83.41 kB / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.5193, allocations: 0 / 1.038 GB, free: 12.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3607/0.8801, allocations: 8.057 MB / 1.046 GB, free: 4.195 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.8804, allocations: 239.3 kB / 1.046 GB, free: 3.941 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.809, allocations: 0 / 1.046 GB, free: 3.941 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