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.001456/0.001456, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001619/0.001619, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.314/1.314, 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.979/2.979, 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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.00189/0.00189, allocations: 68.58 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003367/0.2932, allocations: 2.001 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005355/0.2986, allocations: 3.904 MB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2987, allocations: 7.938 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.2995, allocations: 183.1 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.2996, allocations: 59.44 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.3004, allocations: 313.4 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006083/0.301, allocations: 386.8 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3011, allocations: 36.56 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.3013, allocations: 123.5 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.3015, allocations: 127.4 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.3015, allocations: 16 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.3021, allocations: 303.5 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.3022, allocations: 103.7 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3023, allocations: 123.3 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.303, allocations: 0.5292 MB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.303, allocations: 0 / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.303, allocations: 4 kB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.303, allocations: 0 / 1.371 GB, free: 5.832 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00135/0.3043, allocations: 0.6963 MB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3044, allocations: 19.97 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.3044, allocations: 34.75 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.3054, allocations: 156.5 kB / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.3061, allocations: 304.6 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3061, allocations: 4.375 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.3062, allocations: 12.31 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.3067, allocations: 227 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3067, allocations: 0 / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3067, allocations: 0 / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3067, allocations: 4 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.3075, allocations: 255.8 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3086, allocations: 0.5385 MB / 1.374 GB, free: 3.484 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.309, allocations: 174.5 kB / 1.374 GB, free: 3.305 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.3094, allocations: 136.8 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.3095, allocations: 23.97 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3095, allocations: 34.56 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3095, allocations: 0 / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001306/0.3108, allocations: 477.3 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3108, allocations: 59.34 kB / 1.374 GB, free: 2.559 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.3113, allocations: 417.9 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3113, allocations: 29.7 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3115, allocations: 188 kB / 1.375 GB, free: 1.922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3115, allocations: 35.66 kB / 1.375 GB, free: 1.887 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.3116, allocations: 41.69 kB / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3118, allocations: 346.8 kB / 1.375 GB, free: 1.492 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.3122, allocations: 225.6 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.3127, allocations: 221.6 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.3135, allocations: 377.1 kB / 1.376 GB, free: 0.668 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3135, allocations: 4 kB / 1.376 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001042/0.3146, allocations: 0.5278 MB / 1.377 GB, free: 120 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.3146, allocations: 45.69 kB / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3146, allocations: 0 / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3146, allocations: 0 / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.315, allocations: 47.94 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.315, allocations: 7.938 kB / 1.377 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.3153, allocations: 35.86 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.3153, allocations: 11.92 kB / 1.377 GB, free: 15.96 MB / 1.076 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.0001669/0.3155, allocations: 157.8 kB / 1.377 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.3155, allocations: 35.77 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.3165, allocations: 372.6 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3165, allocations: 0 / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3165, allocations: 3.938 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3165, allocations: 4 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.3169, allocations: 300.5 kB / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3169, allocations: 0 / 1.378 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.3172, allocations: 47.94 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3172, allocations: 0 / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.3172, allocations: 11.86 kB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3172, allocations: 0 / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3172, allocations: 7.875 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.3181, allocations: 435.9 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3182, allocations: 59.62 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3183, allocations: 3.984 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.3186, allocations: 31.97 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.3186, allocations: 19.91 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3187, allocations: 4 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003095/0.319, allocations: 299.1 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.319, allocations: 0 / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004199/0.3194, allocations: 107.9 kB / 1.379 GB, free: 14.03 MB / 1.076 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.00143/0.3208, allocations: 1.04 MB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.3218, allocations: 488.7 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3218, allocations: 0 / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.3222, allocations: 135.9 kB / 1.38 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3227, allocations: 72.12 kB / 1.38 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.3288, allocations: 4.455 MB / 1.385 GB, free: 7.703 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3289, allocations: 179.2 kB / 1.385 GB, free: 7.508 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.3292, allocations: 57.92 kB / 1.385 GB, free: 7.449 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.3294, allocations: 111.4 kB / 1.385 GB, free: 7.34 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3294, allocations: 0 / 1.385 GB, free: 7.34 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.3684, allocations: 9.489 MB / 1.394 GB, free: 14.06 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.72, allocations: 10.16 kB / 1.394 GB, free: 14.06 MB / 1.092 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.717558302916586]