Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.001409/0.001409, allocations: 109 kB / 17.54 MB, free: 4.766 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.001415/0.001415, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.203 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.463/2.463, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 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.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.91 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.766, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002149/0.7681, allocations: 1.624 MB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.7711, allocations: 3.3 MB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.7711, allocations: 0.9375 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.7712, allocations: 7.938 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.7712, allocations: 12.38 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.7716, allocations: 121.8 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.152e-05/0.7717, allocations: 77.77 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.7718, allocations: 10.06 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.7719, allocations: 49.97 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.7719, allocations: 36.27 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.772, allocations: 5.5 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.7722, allocations: 106.5 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.7722, allocations: 17.2 kB / 1.277 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.7723, allocations: 27.28 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.7725, allocations: 124.8 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7725, allocations: 0.75 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7725, allocations: 0 / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7725, allocations: 4 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004305/0.7729, allocations: 397.3 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.7729, allocations: 9.188 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.773, allocations: 32.03 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.773, allocations: 8.766 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/0.7731, allocations: 177.8 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.7731, allocations: 6.188 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.7731, allocations: 11.69 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.7733, allocations: 79.64 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7733, allocations: 0 / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7733, allocations: 5.062 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7733, allocations: 1.844 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.7735, allocations: 72.27 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.7738, allocations: 338.2 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.774, allocations: 89.62 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.7741, allocations: 40.27 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.7747, allocations: 0.7513 MB / 1.279 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.7747, allocations: 37 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.7747, allocations: 0.75 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000352/0.775, allocations: 140.4 kB / 1.279 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.775, allocations: 56.44 kB / 1.279 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.7751, allocations: 114.6 kB / 1.279 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.7751, allocations: 30.23 kB / 1.279 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.7751, allocations: 96.58 kB / 1.279 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.7752, allocations: 25.78 kB / 1.279 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.7752, allocations: 22.22 kB / 1.279 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.7752, allocations: 318.7 kB / 1.28 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.7753, allocations: 29.53 kB / 1.28 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.7754, allocations: 53.27 kB / 1.28 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.7756, allocations: 75.45 kB / 1.28 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7756, allocations: 0.75 kB / 1.28 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002047/0.7758, allocations: 115.8 kB / 1.28 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.7758, allocations: 9.781 kB / 1.28 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7758, allocations: 2.578 kB / 1.28 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7758, allocations: 5 kB / 1.28 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.7759, allocations: 18.45 kB / 1.28 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7759, allocations: 0.9375 kB / 1.28 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.776, allocations: 10.2 kB / 1.28 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.776, allocations: 10.84 kB / 1.28 GB, free: 1.137 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 4.611e-05/0.776, allocations: 116.4 kB / 1.28 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.7761, allocations: 11.45 kB / 1.28 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.7763, allocations: 124.5 kB / 1.28 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7763, allocations: 0.9062 kB / 1.28 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7763, allocations: 0.8438 kB / 1.28 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7763, allocations: 0 / 1.28 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.7765, allocations: 194.4 kB / 1.28 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7765, allocations: 0 / 1.28 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.7766, allocations: 21.06 kB / 1.28 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7766, allocations: 2.188 kB / 1.28 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.7766, allocations: 4.844 kB / 1.28 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7766, allocations: 0.8125 kB / 1.28 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7766, allocations: 7.938 kB / 1.28 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.7768, allocations: 197.4 kB / 1.281 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.7768, allocations: 88.5 kB / 1.281 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.7768, allocations: 9.969 kB / 1.281 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.7769, allocations: 4.406 kB / 1.281 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.777, allocations: 6.016 kB / 1.281 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.777, allocations: 2 kB / 1.281 GB, free: 460 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.777, allocations: 96.14 kB / 1.281 GB, free: 376 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.777, allocations: 0 / 1.281 GB, free: 376 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002373/0.7772, allocations: 18.16 kB / 1.281 GB, free: 376 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0005291/0.7778, allocations: 0.7589 MB / 1.281 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.778, allocations: 74.45 kB / 1.282 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.778, allocations: 8 kB / 1.282 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.7781, allocations: 40.33 kB / 1.282 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.7784, allocations: 12.64 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.7789, allocations: 251.6 kB / 1.282 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.7792, allocations: 0.6924 MB / 1.283 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.7792, allocations: 16.91 kB / 1.283 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.7793, allocations: 25.02 kB / 1.283 GB, free: 14.7 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7793, allocations: 0 / 1.283 GB, free: 14.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.8033, allocations: 2.241 MB / 1.285 GB, free: 14.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/7.648, allocations: 5.438 kB / 1.285 GB, free: 14.25 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.836161008999625]