Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00152/0.00152, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001739/0.001739, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.918/2.918, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_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: 64.22 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002935/0.3001, allocations: 1.86 MB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.3042, allocations: 3.438 MB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.3043, allocations: 7.938 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.305, allocations: 183.1 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.3051, allocations: 87.41 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.3052, allocations: 51.92 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.3057, allocations: 283.1 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.3058, allocations: 17.72 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3059, allocations: 87.69 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.306, allocations: 75.62 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.306, allocations: 8 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.348e-05/0.3061, allocations: 31.91 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.3062, allocations: 51.83 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.3063, allocations: 75.48 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3065, allocations: 211 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3065, allocations: 0 / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3065, allocations: 0 / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3065, allocations: 0 / 1.37 GB, free: 7.633 MB / 1.061 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.000798/0.3073, allocations: 480.8 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3073, allocations: 11.97 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.3074, allocations: 38.75 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.3082, allocations: 128.6 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3086, allocations: 210.6 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3087, allocations: 4.375 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3087, allocations: 384 / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.309, allocations: 157.5 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3091, allocations: 0 / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3091, allocations: 4 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.3091, allocations: 12 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.3095, allocations: 151.9 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.3103, allocations: 427.6 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.3107, allocations: 178.5 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.3109, allocations: 104.8 kB / 1.372 GB, free: 5.641 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.311, allocations: 4.25 kB / 1.372 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.311, allocations: 34.56 kB / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.311, allocations: 0 / 1.372 GB, free: 5.594 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008335/0.3118, allocations: 329.2 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3119, allocations: 51.41 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3121, allocations: 256.2 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3121, allocations: 33.7 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.3122, allocations: 136.1 kB / 1.372 GB, free: 4.766 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.3123, allocations: 55.56 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.3123, allocations: 25.7 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3125, allocations: 342.8 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3127, allocations: 87.92 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3129, allocations: 82.19 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3134, allocations: 180.7 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3134, allocations: 0 / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005518/0.314, allocations: 239.5 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.314, allocations: 4 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.314, allocations: 4 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.314, allocations: 0 / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.3143, allocations: 39.95 kB / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3143, allocations: 0 / 1.373 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3144, allocations: 23.81 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3145, allocations: 11.94 kB / 1.373 GB, free: 3.672 MB / 1.061 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.0001297/0.3146, allocations: 146.8 kB / 1.374 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3146, allocations: 19.86 kB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.319e-05/0.3147, allocations: 29.8 kB / 1.374 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3147, allocations: 4 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3147, allocations: 0 / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3147, allocations: 0 / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.315, allocations: 232.6 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.315, allocations: 0 / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3152, allocations: 43.95 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3152, allocations: 0 / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3153, allocations: 4 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3153, allocations: 0 / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3153, allocations: 4 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.3159, allocations: 339.1 kB / 1.374 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.316, allocations: 47.78 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.316, allocations: 0 / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.3162, allocations: 11.98 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.3163, allocations: 15.97 kB / 1.374 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3163, allocations: 7.938 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001662/0.3165, allocations: 187 kB / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3165, allocations: 0 / 1.374 GB, free: 2.535 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002548/0.3167, allocations: 43.98 kB / 1.374 GB, free: 2.492 MB / 1.061 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.0008892/0.3176, allocations: 0.8743 MB / 1.375 GB, free: 1.594 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.3181, allocations: 187.8 kB / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.3181, allocations: 0 / 1.375 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.3184, allocations: 99.86 kB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3187, allocations: 48.89 kB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.3221, allocations: 2.484 MB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3222, allocations: 136.1 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.3224, allocations: 65.38 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3225, allocations: 59.41 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.3225, allocations: 0 / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/0.3542, allocations: 5.853 MB / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.56, allocations: 6.438 kB / 1.384 GB, free: 8.777 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.50163680827245]