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.0008853/0.0008853, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008417/0.0008417, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9176/0.9176, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.02e-05, allocations: 6.219 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002737/0.002757, allocations: 2.059 MB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.004226, allocations: 1.133 MB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00433, allocations: 4 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.004724, allocations: 119.2 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.004807, allocations: 51.52 kB / 0.9843 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.005414, allocations: 262.7 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.005699, allocations: 303.2 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.005842, allocations: 67.52 kB / 0.9849 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.005977, allocations: 155.7 kB / 0.985 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.006104, allocations: 103.7 kB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.006139, allocations: 32 kB / 0.9851 GB, free: 14.31 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.006436, allocations: 239.6 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.006531, allocations: 95.67 kB / 0.9855 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.00662, allocations: 95.77 kB / 0.9856 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.007329, allocations: 0.6116 MB / 0.9862 GB, free: 13.27 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007332, allocations: 0 / 0.9862 GB, free: 13.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007333, allocations: 0 / 0.9862 GB, free: 13.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.007339, allocations: 0 / 0.9862 GB, free: 13.27 MB / 0.948 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.0008632/0.008202, allocations: 0.7408 MB / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.008249, allocations: 8.031 kB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.00829, allocations: 50.73 kB / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.008341, allocations: 40.7 kB / 0.987 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.008641, allocations: 262 kB / 0.9872 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.008659, allocations: 12.66 kB / 0.9872 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.008683, allocations: 16.38 kB / 0.9873 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.00911, allocations: 392.2 kB / 0.9876 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.00912, allocations: 192 / 0.9876 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.009137, allocations: 8.125 kB / 0.9876 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.009145, allocations: 4 kB / 0.9876 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.00953, allocations: 362 kB / 0.988 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.01022, allocations: 0.5742 MB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.0106, allocations: 315.7 kB / 0.9888 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.01085, allocations: 277.8 kB / 0.9891 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.01087, allocations: 0 / 0.9891 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.01089, allocations: 30.56 kB / 0.9891 GB, free: 9.973 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.01089, allocations: 0 / 0.9891 GB, free: 9.973 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001036/0.01193, allocations: 0.8481 MB / 0.99 GB, free: 9.062 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.01198, allocations: 140.5 kB / 0.9901 GB, free: 8.895 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.01226, allocations: 380.5 kB / 0.9905 GB, free: 8.516 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01228, allocations: 33.7 kB / 0.9905 GB, free: 8.477 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.01237, allocations: 164.5 kB / 0.9907 GB, free: 8.312 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.0124, allocations: 51.56 kB / 0.9907 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.01246, allocations: 45.7 kB / 0.9907 GB, free: 8.211 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.01256, allocations: 342.8 kB / 0.9911 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.01287, allocations: 418.1 kB / 0.9915 GB, free: 7.422 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.01317, allocations: 428.5 kB / 0.9919 GB, free: 6.969 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.01372, allocations: 0.6942 MB / 0.9926 GB, free: 6.219 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.01372, allocations: 0 / 0.9926 GB, free: 6.219 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007146/0.01443, allocations: 0.9311 MB / 0.9935 GB, free: 5.207 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.01452, allocations: 182.2 kB / 0.9936 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01453, allocations: 0 / 0.9936 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01454, allocations: 0 / 0.9936 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.01463, allocations: 31.97 kB / 0.9937 GB, free: 4.961 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01463, allocations: 0 / 0.9937 GB, free: 4.961 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01474, allocations: 51.73 kB / 0.9937 GB, free: 4.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01476, allocations: 8 kB / 0.9937 GB, free: 4.902 MB / 0.948 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.0001537/0.01492, allocations: 254.9 kB / 0.994 GB, free: 4.625 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01495, allocations: 35.75 kB / 0.994 GB, free: 4.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.01499, allocations: 30.88 kB / 0.994 GB, free: 4.559 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01499, allocations: 4 kB / 0.994 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.015, allocations: 0 / 0.994 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.015, allocations: 3.984 kB / 0.994 GB, free: 4.551 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.01521, allocations: 272.5 kB / 0.9943 GB, free: 4.242 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01522, allocations: 4 kB / 0.9943 GB, free: 4.238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.01529, allocations: 27.97 kB / 0.9943 GB, free: 4.211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01529, allocations: 0 / 0.9943 GB, free: 4.211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.0153, allocations: 8 kB / 0.9943 GB, free: 4.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01531, allocations: 3.938 kB / 0.9943 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01531, allocations: 0 / 0.9943 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.0159, allocations: 0.7082 MB / 0.995 GB, free: 3.438 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.01594, allocations: 43.73 kB / 0.9951 GB, free: 3.395 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.01597, allocations: 4 kB / 0.9951 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01607, allocations: 27.97 kB / 0.9951 GB, free: 3.363 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.01616, allocations: 27.95 kB / 0.9951 GB, free: 3.336 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01617, allocations: 4 kB / 0.9951 GB, free: 3.332 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001888/0.01636, allocations: 271 kB / 0.9954 GB, free: 3.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01636, allocations: 0 / 0.9954 GB, free: 3.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000285/0.01665, allocations: 119.8 kB / 0.9955 GB, free: 2.953 MB / 0.948 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.001105/0.01775, allocations: 1.311 MB / 0.9968 GB, free: 1.578 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008387/0.01859, allocations: 1.089 MB / 0.9979 GB, free: 368 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01859, allocations: 0 / 0.9979 GB, free: 368 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.01892, allocations: 455.2 kB / 0.9983 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.01923, allocations: 77.39 kB / 0.9984 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.02347, allocations: 5.275 MB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.0236, allocations: 182.1 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.02366, allocations: 21.95 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.02376, allocations: 92.47 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.02376, allocations: 0 / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.04896, allocations: 9.915 MB / 1.013 GB, free: 288 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.518, allocations: 3.5 kB / 1.013 GB, free: 288 kB / 0.9636 GB " [Timeout remaining time 291] (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/jenkins/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: 12.901452234946191]