Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 105.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 245.1 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 469.8 MB / 0.749 GB, free: 7.145 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.073 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 159.1 MB / 1.229 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003443/0.3434, allocations: 2.101 MB / 1.231 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3453, allocations: 1.176 MB / 1.232 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3454, allocations: 4 kB / 1.232 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.3459, allocations: 115.6 kB / 1.232 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.346, allocations: 47.58 kB / 1.232 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.3469, allocations: 259.4 kB / 1.232 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.3473, allocations: 315.2 kB / 1.233 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3475, allocations: 91.05 kB / 1.233 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3476, allocations: 111.6 kB / 1.233 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3478, allocations: 131.4 kB / 1.233 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.3478, allocations: 28 kB / 1.233 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.3482, allocations: 227.7 kB / 1.233 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3483, allocations: 87.73 kB / 1.233 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.3485, allocations: 163.1 kB / 1.233 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.3492, allocations: 0.5527 MB / 1.234 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3492, allocations: 0 / 1.234 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3492, allocations: 0 / 1.234 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3492, allocations: 0 / 1.234 GB, free: 6.863 MB / 0.9825 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.001258/0.3505, allocations: 0.8201 MB / 1.235 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3505, allocations: 8.031 kB / 1.235 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.3506, allocations: 50.73 kB / 1.235 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.3507, allocations: 36.7 kB / 1.235 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3511, allocations: 324.5 kB / 1.235 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3511, allocations: 12.66 kB / 1.235 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.3512, allocations: 20.38 kB / 1.235 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006084/0.3518, allocations: 298.9 kB / 1.235 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3518, allocations: 3.984 kB / 1.235 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.3518, allocations: 8 kB / 1.235 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3518, allocations: 4 kB / 1.235 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.3525, allocations: 264.4 kB / 1.236 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.3535, allocations: 0.6687 MB / 1.236 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.3541, allocations: 234.6 kB / 1.237 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.3545, allocations: 188.7 kB / 1.237 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3545, allocations: 0 / 1.237 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.3545, allocations: 38.56 kB / 1.237 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.3545, allocations: 0 / 1.237 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001367/0.3559, allocations: 0.674 MB / 1.237 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.356, allocations: 136.5 kB / 1.238 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.3565, allocations: 388.4 kB / 1.238 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.3565, allocations: 33.7 kB / 1.238 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3566, allocations: 160.4 kB / 1.238 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.3567, allocations: 47.62 kB / 1.238 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.3568, allocations: 45.7 kB / 1.238 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.357, allocations: 346.7 kB / 1.239 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.3574, allocations: 239.9 kB / 1.239 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3579, allocations: 243.8 kB / 1.239 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3589, allocations: 0.6775 MB / 1.24 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3589, allocations: 7.984 kB / 1.24 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001122/0.36, allocations: 0.7308 MB / 1.24 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.3602, allocations: 186.2 kB / 1.241 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3602, allocations: 0 / 1.241 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3602, allocations: 0 / 1.241 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3604, allocations: 31.97 kB / 1.241 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3604, allocations: 3.984 kB / 1.241 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3606, allocations: 47.75 kB / 1.241 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.3607, allocations: 8 kB / 1.241 GB, free: 15.52 MB / 0.9981 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.0002659/0.3609, allocations: 263.3 kB / 1.241 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.361, allocations: 31.81 kB / 1.241 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.361, allocations: 30.94 kB / 1.241 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3611, allocations: 4 kB / 1.241 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3611, allocations: 0 / 1.241 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3611, allocations: 0 / 1.241 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.3614, allocations: 353.3 kB / 1.241 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3615, allocations: 0 / 1.241 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3616, allocations: 31.97 kB / 1.241 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3616, allocations: 0 / 1.241 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.3617, allocations: 4 kB / 1.241 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3617, allocations: 0 / 1.241 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3617, allocations: 4 kB / 1.241 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009892/0.3627, allocations: 0.6212 MB / 1.242 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.3628, allocations: 112.9 kB / 1.242 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.3628, allocations: 7.984 kB / 1.242 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.363, allocations: 35.91 kB / 1.242 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3631, allocations: 27.91 kB / 1.242 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3632, allocations: 8 kB / 1.242 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002874/0.3635, allocations: 267 kB / 1.242 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3635, allocations: 0 / 1.242 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004101/0.3639, allocations: 111.8 kB / 1.243 GB, free: 13.5 MB / 0.9981 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.001508/0.3654, allocations: 1.217 MB / 1.244 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.3666, allocations: 0.836 MB / 1.245 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3666, allocations: 0 / 1.245 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.3672, allocations: 378 kB / 1.245 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.3676, allocations: 63.64 kB / 1.245 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.3736, allocations: 4.437 MB / 1.249 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.374, allocations: 0.7908 MB / 1.25 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.858e-05/0.3742, allocations: 21.95 kB / 1.25 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3743, allocations: 91.41 kB / 1.25 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.3743, allocations: 0 / 1.25 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6171/0.9914, allocations: 8.711 MB / 1.259 GB, free: 30.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/9.431, allocations: 12.95 kB / 1.259 GB, free: 30.42 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.211170207941905]