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.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.00137/0.00137, allocations: 108.6 kB / 16.46 MB, free: 6.035 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.001485/0.001485, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.352/1.352, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001878/0.001878, allocations: 64.09 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3298, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003484/0.3333, allocations: 2.103 MB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3351, allocations: 1.18 MB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.3352, allocations: 8 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.3356, allocations: 119.6 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3357, allocations: 47.58 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.3364, allocations: 262.7 kB / 1.308 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.3367, allocations: 299.3 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3369, allocations: 67.05 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.337, allocations: 111.6 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3372, allocations: 131.4 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.3372, allocations: 28 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.3376, allocations: 239.7 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3377, allocations: 95.67 kB / 1.309 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3379, allocations: 147.2 kB / 1.309 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.3385, allocations: 0.5488 MB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3385, allocations: 4 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3385, allocations: 0 / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.3386, allocations: 0 / 1.309 GB, free: 12.15 MB / 1.014 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.001259/0.3398, allocations: 0.8239 MB / 1.31 GB, free: 11.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3399, allocations: 12.92 kB / 1.31 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.3399, allocations: 42.75 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.34, allocations: 40.69 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3404, allocations: 328.6 kB / 1.31 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3405, allocations: 12.66 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.3405, allocations: 20.31 kB / 1.31 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.3411, allocations: 298.8 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3411, allocations: 4 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3411, allocations: 4 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3411, allocations: 4 kB / 1.311 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.3418, allocations: 276.4 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3428, allocations: 0.6648 MB / 1.312 GB, free: 9.457 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.3433, allocations: 222.6 kB / 1.312 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.3437, allocations: 180.7 kB / 1.312 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3437, allocations: 7.938 kB / 1.312 GB, free: 9.043 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3437, allocations: 34.55 kB / 1.312 GB, free: 9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3437, allocations: 7.938 kB / 1.312 GB, free: 8.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.001332/0.3451, allocations: 0.6702 MB / 1.313 GB, free: 8.297 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.3452, allocations: 140.5 kB / 1.313 GB, free: 8.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.3456, allocations: 376.5 kB / 1.313 GB, free: 7.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3456, allocations: 29.7 kB / 1.313 GB, free: 7.715 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3457, allocations: 168.4 kB / 1.313 GB, free: 7.547 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3458, allocations: 39.64 kB / 1.313 GB, free: 7.508 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.3458, allocations: 49.83 kB / 1.314 GB, free: 7.453 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.346, allocations: 342.8 kB / 1.314 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.3465, allocations: 247.8 kB / 1.314 GB, free: 6.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.3469, allocations: 235.8 kB / 1.314 GB, free: 6.637 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009767/0.3479, allocations: 0.6874 MB / 1.315 GB, free: 5.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3479, allocations: 0 / 1.315 GB, free: 5.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001081/0.3489, allocations: 0.7288 MB / 1.316 GB, free: 5.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3491, allocations: 186.2 kB / 1.316 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3491, allocations: 0 / 1.316 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3491, allocations: 4 kB / 1.316 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3493, allocations: 27.97 kB / 1.316 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3493, allocations: 3.938 kB / 1.316 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3495, allocations: 47.75 kB / 1.316 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3495, allocations: 8 kB / 1.316 GB, free: 4.812 MB / 1.014 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.0002365/0.3497, allocations: 258.8 kB / 1.316 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.3498, allocations: 35.81 kB / 1.316 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.3498, allocations: 30.94 kB / 1.316 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3498, allocations: 0 / 1.316 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3498, allocations: 0 / 1.316 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3498, allocations: 0 / 1.316 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.3502, allocations: 349.3 kB / 1.317 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3502, allocations: 0 / 1.317 GB, free: 4.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3504, allocations: 31.97 kB / 1.317 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3504, allocations: 0 / 1.317 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3504, allocations: 8 kB / 1.317 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3504, allocations: 3.938 kB / 1.317 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3504, allocations: 3.938 kB / 1.317 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.3514, allocations: 0.6173 MB / 1.317 GB, free: 3.371 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3515, allocations: 116.9 kB / 1.317 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.3515, allocations: 4 kB / 1.317 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3517, allocations: 31.95 kB / 1.317 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3518, allocations: 23.97 kB / 1.317 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3518, allocations: 7.984 kB / 1.317 GB, free: 3.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002925/0.3521, allocations: 271 kB / 1.318 GB, free: 2.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3521, allocations: 0 / 1.318 GB, free: 2.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004022/0.3525, allocations: 119.8 kB / 1.318 GB, free: 2.793 MB / 1.014 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.001458/0.354, allocations: 1.218 MB / 1.319 GB, free: 1.535 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.3551, allocations: 0.8164 MB / 1.32 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3552, allocations: 0 / 1.32 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.3556, allocations: 370.1 kB / 1.32 GB, free: 252 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3561, allocations: 69.39 kB / 1.32 GB, free: 180 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.362, allocations: 4.432 MB / 1.325 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.3625, allocations: 0.7753 MB / 1.325 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.091e-05/0.3626, allocations: 25.94 kB / 1.325 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3627, allocations: 93.8 kB / 1.325 GB, free: 10.71 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3627, allocations: 0 / 1.325 GB, free: 10.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.3954, allocations: 8.738 MB / 1.334 GB, free: 2.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.596, allocations: 7.938 kB / 1.334 GB, free: 2.223 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.756410446949303]