Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009322/0.0009322, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008933/0.0008933, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9601/0.9601, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.883/1.883, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.772e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003064/0.003092, allocations: 2.052 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004402, allocations: 1.133 MB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.004484, allocations: 4 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.004825, allocations: 115.2 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.0049, allocations: 59.52 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.005439, allocations: 255.4 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.005732, allocations: 299.2 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.005874, allocations: 81.66 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.005992, allocations: 155.7 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.006111, allocations: 107.7 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.006144, allocations: 32 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.006393, allocations: 239.6 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.304e-05/0.006476, allocations: 91.67 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.00655, allocations: 99.75 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.006996, allocations: 0.6038 MB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006999, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.007, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.007005, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 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.0007712/0.007776, allocations: 0.7447 MB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.007818, allocations: 8.75 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.007857, allocations: 50.73 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.007908, allocations: 36.7 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.008185, allocations: 270 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.0082, allocations: 12.66 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.008221, allocations: 16.38 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.008621, allocations: 393.5 kB / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.008631, allocations: 0 / 1.006 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.008647, allocations: 4 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.008653, allocations: 4 kB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.009032, allocations: 361.5 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.009688, allocations: 0.578 MB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.01006, allocations: 307.7 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.01032, allocations: 277.8 kB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.01034, allocations: 0 / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.01038, allocations: 34.5 kB / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/0.01038, allocations: 0 / 1.008 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0008643/0.01124, allocations: 0.851 MB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.0113, allocations: 136.5 kB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.01156, allocations: 380.5 kB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.01157, allocations: 29.7 kB / 1.009 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.01165, allocations: 168.4 kB / 1.009 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.01169, allocations: 43.66 kB / 1.009 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.01174, allocations: 41.7 kB / 1.009 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.01184, allocations: 346.7 kB / 1.01 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.01213, allocations: 426 kB / 1.01 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.01242, allocations: 418.9 kB / 1.011 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.01294, allocations: 0.7055 MB / 1.011 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01294, allocations: 0 / 1.011 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007042/0.01364, allocations: 0.9177 MB / 1.012 GB, free: 120 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.01374, allocations: 186.1 kB / 1.012 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01374, allocations: 4 kB / 1.012 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01376, allocations: 0 / 1.012 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.01384, allocations: 31.95 kB / 1.012 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01385, allocations: 0 / 1.012 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01395, allocations: 43.75 kB / 1.012 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01397, allocations: 12 kB / 1.012 GB, free: 15.81 MB / 0.9792 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.0001502/0.01412, allocations: 258.8 kB / 1.013 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.01415, allocations: 39.81 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.01419, allocations: 30.88 kB / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.0142, allocations: 4 kB / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.0142, allocations: 0 / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01421, allocations: 0 / 1.013 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.01441, allocations: 272.5 kB / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01441, allocations: 0 / 1.013 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.01449, allocations: 31.97 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01449, allocations: 3.984 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.0145, allocations: 8 kB / 1.013 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.0145, allocations: 3.938 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01451, allocations: 3.984 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.01508, allocations: 0.7082 MB / 1.014 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.01511, allocations: 35.75 kB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.01514, allocations: 4 kB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01524, allocations: 35.95 kB / 1.014 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.01534, allocations: 23.97 kB / 1.014 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01535, allocations: 8 kB / 1.014 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001735/0.01552, allocations: 271 kB / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.5e-07/0.01552, allocations: 0 / 1.014 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002703/0.01579, allocations: 111.8 kB / 1.014 GB, free: 13.85 MB / 0.9792 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.000943/0.01674, allocations: 1.316 MB / 1.015 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.01749, allocations: 1.085 MB / 1.017 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01749, allocations: 4 kB / 1.017 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.01779, allocations: 459.1 kB / 1.017 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01809, allocations: 73.38 kB / 1.017 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.02206, allocations: 5.275 MB / 1.022 GB, free: 5.117 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.02218, allocations: 178.1 kB / 1.022 GB, free: 4.926 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.986e-05/0.02224, allocations: 21.95 kB / 1.022 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.02233, allocations: 88.47 kB / 1.022 GB, free: 4.816 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/0.02233, allocations: 4 kB / 1.022 GB, free: 4.812 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.04479, allocations: 9.903 MB / 1.032 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.037, allocations: 11.17 kB / 1.032 GB, free: 11.2 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.620500205084682]