Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001136/0.001136, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001274/0.001274, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.297/1.297, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.841/2.841, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",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.00184/0.00184, allocations: 64.16 kB / 1.171 GB, free: 19.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2843, allocations: 179 MB / 1.345 GB, free: 324 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003054/0.2874, allocations: 2.11 MB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004825/0.2922, allocations: 4.246 MB / 1.352 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.2923, allocations: 7.938 kB / 1.352 GB, free: 9.918 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.2929, allocations: 191.1 kB / 1.352 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.293, allocations: 71.41 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.2937, allocations: 301.2 kB / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.2942, allocations: 394.8 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.2943, allocations: 32.56 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2945, allocations: 123.5 kB / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2947, allocations: 131.4 kB / 1.353 GB, free: 8.695 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.2947, allocations: 20 kB / 1.353 GB, free: 8.676 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.2952, allocations: 343.5 kB / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.2953, allocations: 99.7 kB / 1.353 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2954, allocations: 162.9 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.296, allocations: 0.5254 MB / 1.354 GB, free: 7.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.296, allocations: 3.938 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.296, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.296, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001251/0.2973, allocations: 0.7002 MB / 1.355 GB, free: 6.812 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2973, allocations: 8.031 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/0.2973, allocations: 4.188 kB / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.2973, allocations: 38.75 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000994/0.2983, allocations: 156.5 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.2989, allocations: 300.7 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.299, allocations: 4.375 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.299, allocations: 16.06 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.2995, allocations: 226.7 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2995, allocations: 0 / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.2995, allocations: 4 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2995, allocations: 4 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.3003, allocations: 255.8 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3013, allocations: 0.5736 MB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.3017, allocations: 178.5 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.3021, allocations: 132.8 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.3021, allocations: 23.97 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3021, allocations: 38.56 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.3021, allocations: 0 / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001255/0.3034, allocations: 469.4 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3034, allocations: 55.34 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.3038, allocations: 421.9 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3039, allocations: 33.69 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.304, allocations: 183.8 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.304, allocations: 39.69 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.3041, allocations: 45.64 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3043, allocations: 346.8 kB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.3047, allocations: 171.9 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.3051, allocations: 187.9 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.3059, allocations: 375.9 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3059, allocations: 4 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009982/0.3069, allocations: 489.3 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.307, allocations: 45.69 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.307, allocations: 0 / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.307, allocations: 0 / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3073, allocations: 43.94 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3073, allocations: 7.938 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.3076, allocations: 39.84 kB / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.3076, allocations: 8 kB / 1.359 GB, free: 1.801 MB / 1.045 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001543/0.3078, allocations: 154.4 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.3078, allocations: 35.77 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009459/0.3088, allocations: 376.6 kB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3088, allocations: 0 / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3088, allocations: 3.938 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3088, allocations: 4 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.3091, allocations: 320.5 kB / 1.36 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3091, allocations: 4 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.3095, allocations: 51.88 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3095, allocations: 0 / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3095, allocations: 11.92 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3095, allocations: 0 / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3095, allocations: 7.938 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.3104, allocations: 439.8 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3105, allocations: 55.67 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3105, allocations: 0 / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3108, allocations: 27.97 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.3109, allocations: 19.91 kB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3109, allocations: 4 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000294/0.3112, allocations: 295.1 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3112, allocations: 0 / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003973/0.3116, allocations: 123.8 kB / 1.361 GB, free: 15.83 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 (11): * Single equations (assignments): 11 * 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.001347/0.3129, allocations: 1.036 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009635/0.3139, allocations: 479 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3139, allocations: 4 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.3143, allocations: 143.9 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.3147, allocations: 72.92 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.3204, allocations: 4.284 MB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3208, allocations: 0.7905 MB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.321, allocations: 61.91 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.3212, allocations: 111.4 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3212, allocations: 3.938 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.3496, allocations: 8.756 MB / 1.376 GB, free: 156 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11, allocations: 26.34 kB / 1.376 GB, free: 136 kB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.910244943981525]