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.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.001292/0.001292, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001577/0.001577, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.97 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004062/0.3214, allocations: 2.144 MB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3236, allocations: 1.227 MB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3238, allocations: 4 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.3243, allocations: 114.9 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.3244, allocations: 51.58 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.3253, allocations: 263.5 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.3257, allocations: 299.2 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.3259, allocations: 67.45 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.326, allocations: 107.6 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3262, allocations: 135.5 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.3263, allocations: 32 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.3267, allocations: 255.7 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3269, allocations: 95.62 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.327, allocations: 147.2 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000976/0.328, allocations: 0.5605 MB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.328, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.727e-06/0.328, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.706e-05/0.3281, allocations: 0 / 1.289 GB, free: 6.203 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.00145/0.3295, allocations: 0.7501 MB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3296, allocations: 12.03 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.3296, allocations: 42.75 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.3297, allocations: 40.73 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.3301, allocations: 262.7 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3302, allocations: 16.66 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3302, allocations: 16.38 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.3308, allocations: 302.8 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3308, allocations: 0 / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3308, allocations: 4 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3308, allocations: 4 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.3315, allocations: 276.3 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3325, allocations: 0.6365 MB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.333, allocations: 226.6 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.3334, allocations: 180.7 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3334, allocations: 0 / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3335, allocations: 42.56 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.3335, allocations: 0 / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001343/0.3348, allocations: 0.6671 MB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.3349, allocations: 144.5 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.3353, allocations: 376.5 kB / 1.293 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3354, allocations: 29.7 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3355, allocations: 160.4 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3356, allocations: 59.47 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.3356, allocations: 49.7 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3358, allocations: 346.7 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.3362, allocations: 235.9 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.3367, allocations: 246.7 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/0.3376, allocations: 0.6796 MB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3376, allocations: 4 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001166/0.3388, allocations: 0.7321 MB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.3389, allocations: 178.2 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3389, allocations: 8 kB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.339, allocations: 0 / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3391, allocations: 31.97 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3391, allocations: 0 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3394, allocations: 39.84 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3394, allocations: 8 kB / 1.295 GB, free: 15.07 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.0002596/0.3396, allocations: 262.8 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.3397, allocations: 35.77 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.3398, allocations: 30.88 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3398, allocations: 7.984 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3398, allocations: 0 / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3398, allocations: 3.984 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.3402, allocations: 316.4 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3402, allocations: 4 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3403, allocations: 23.97 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3403, allocations: 8 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3404, allocations: 7.984 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3404, allocations: 0 / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3404, allocations: 0 / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.3413, allocations: 0.6264 MB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.3414, allocations: 35.8 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.3415, allocations: 8 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3417, allocations: 23.97 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3418, allocations: 23.97 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3418, allocations: 8 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003207/0.3421, allocations: 275 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005604/0.3427, allocations: 107.8 kB / 1.297 GB, free: 13.18 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.001487/0.3442, allocations: 1.226 MB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.3453, allocations: 0.801 MB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3454, allocations: 3.938 kB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.346, allocations: 381.9 kB / 1.299 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3465, allocations: 73.33 kB / 1.299 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/0.3529, allocations: 4.428 MB / 1.304 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3533, allocations: 0.7909 MB / 1.305 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.909e-05/0.3534, allocations: 21.94 kB / 1.305 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3536, allocations: 91.41 kB / 1.305 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.3536, allocations: 0 / 1.305 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.4604, allocations: 8.891 MB / 1.313 GB, free: 12.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 10.5 kB / 1.313 GB, free: 12.4 MB / 1.014 GB " [Timeout remaining time 287] (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/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: 18.566579191945493]