Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.00125/0.00125, allocations: 108.1 kB / 16.46 MB, free: 6.512 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.001298/0.001298, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.05/3.05, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001941/0.001941, allocations: 69.62 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003097/0.2971, allocations: 1.917 MB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.3018, allocations: 3.724 MB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.3019, allocations: 4 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.3028, allocations: 199.2 kB / 1.327 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.303, allocations: 75.55 kB / 1.327 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3032, allocations: 59.84 kB / 1.327 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.3037, allocations: 267.1 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3038, allocations: 25.55 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.304, allocations: 87.62 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3041, allocations: 79.61 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3042, allocations: 8 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3043, allocations: 43.91 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.3043, allocations: 55.7 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.3044, allocations: 91.41 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.3047, allocations: 199 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3047, allocations: 8 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3047, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3047, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009357/0.3057, allocations: 0.537 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3057, allocations: 15.98 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.3058, allocations: 38.67 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.3061, allocations: 64.75 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3066, allocations: 267.8 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3066, allocations: 4.375 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3066, allocations: 4.375 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.3069, allocations: 149.5 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3069, allocations: 3.938 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.307, allocations: 3.984 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.307, allocations: 12 kB / 1.329 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.3074, allocations: 139.9 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.3081, allocations: 460.5 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.3086, allocations: 162.4 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3088, allocations: 104.8 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3088, allocations: 3.984 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3089, allocations: 34.56 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3089, allocations: 0 / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008612/0.3097, allocations: 300.1 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3098, allocations: 55.41 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.31, allocations: 255 kB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3101, allocations: 33.64 kB / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.3102, allocations: 136.1 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.3102, allocations: 47.64 kB / 1.33 GB, free: 9.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.3103, allocations: 29.7 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3104, allocations: 338.8 kB / 1.331 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.3107, allocations: 71.94 kB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3109, allocations: 71.94 kB / 1.331 GB, free: 8.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.3113, allocations: 174.9 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3113, allocations: 0 / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005547/0.3119, allocations: 225.4 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3119, allocations: 8 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3119, allocations: 0 / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3119, allocations: 0 / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.3122, allocations: 35.91 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3122, allocations: 3.938 kB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3123, allocations: 15.92 kB / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3124, allocations: 15.92 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 0.0001229/0.3125, allocations: 137.8 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.3125, allocations: 19.86 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.3126, allocations: 33.86 kB / 1.331 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3126, allocations: 4 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3126, allocations: 0 / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3126, allocations: 0 / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3129, allocations: 277.4 kB / 1.332 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3129, allocations: 0 / 1.332 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3132, allocations: 39.91 kB / 1.332 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3132, allocations: 4 kB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3132, allocations: 11.92 kB / 1.332 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3132, allocations: 0 / 1.332 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3132, allocations: 0 / 1.332 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.3138, allocations: 328.8 kB / 1.332 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3139, allocations: 120.8 kB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.3139, allocations: 4 kB / 1.332 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3141, allocations: 11.98 kB / 1.332 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.3142, allocations: 15.92 kB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3142, allocations: 4 kB / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001696/0.3144, allocations: 193.9 kB / 1.332 GB, free: 7.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3144, allocations: 0 / 1.332 GB, free: 7.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002797/0.3146, allocations: 40 kB / 1.332 GB, free: 7.203 MB / 1.029 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 (13): * Single equations (assignments): 13 * 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.0009584/0.3156, allocations: 0.8528 MB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.3161, allocations: 172.7 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3161, allocations: 0 / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.3164, allocations: 95.88 kB / 1.333 GB, free: 6.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3168, allocations: 56.77 kB / 1.333 GB, free: 6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.3202, allocations: 2.44 MB / 1.336 GB, free: 3.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3206, allocations: 0.7475 MB / 1.337 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.3208, allocations: 49.39 kB / 1.337 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3209, allocations: 59.41 kB / 1.337 GB, free: 2.594 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3209, allocations: 0 / 1.337 GB, free: 2.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3492, allocations: 4.984 MB / 1.342 GB, free: 13.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.403, allocations: 10.88 kB / 1.342 GB, free: 13.79 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.60154660884291]