Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001381/0.001381, 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.001551/0.001551, allocations: 215.3 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.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 179] 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 2.909/2.909, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_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.001803/0.001803, allocations: 68.19 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2772, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003028/0.2802, allocations: 2.101 MB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004948/0.2852, allocations: 4.242 MB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2853, allocations: 7.938 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.286, allocations: 199.1 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.2861, allocations: 63.44 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.2868, allocations: 309.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.2874, allocations: 394.8 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.2875, allocations: 36.55 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.2876, allocations: 123.5 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2878, allocations: 127.4 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2879, allocations: 16 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.2884, allocations: 343.5 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2885, allocations: 111.6 kB / 1.335 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2886, allocations: 151 kB / 1.335 GB, free: 9.699 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.2892, allocations: 0.5292 MB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2892, allocations: 0 / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2892, allocations: 0 / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2892, allocations: 0 / 1.335 GB, free: 9.168 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001283/0.2905, allocations: 0.7002 MB / 1.336 GB, free: 8.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2905, allocations: 8.031 kB / 1.336 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.199e-05/0.2905, allocations: 4.188 kB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.2906, allocations: 42.73 kB / 1.336 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.291, allocations: 88.59 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.2916, allocations: 296.6 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2916, allocations: 8.375 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2916, allocations: 8.125 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.2922, allocations: 197.5 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2922, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.2922, allocations: 4 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2922, allocations: 4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.2929, allocations: 243.7 kB / 1.337 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.2938, allocations: 0.5657 MB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.2943, allocations: 170.4 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.2946, allocations: 128.8 kB / 1.338 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.2947, allocations: 20.2 kB / 1.338 GB, free: 6.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2947, allocations: 34.5 kB / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2947, allocations: 0 / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001256/0.296, allocations: 441.3 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.296, allocations: 59.28 kB / 1.338 GB, free: 6.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.2964, allocations: 425.9 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2964, allocations: 29.7 kB / 1.339 GB, free: 5.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2966, allocations: 183.9 kB / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2966, allocations: 35.7 kB / 1.339 GB, free: 5.348 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.2967, allocations: 37.69 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2968, allocations: 350.8 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.2972, allocations: 175.9 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.2976, allocations: 169.5 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008049/0.2984, allocations: 359.8 kB / 1.34 GB, free: 4.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2984, allocations: 0 / 1.34 GB, free: 4.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009828/0.2994, allocations: 472.7 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.2995, allocations: 49.62 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2995, allocations: 0 / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2995, allocations: 0 / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2998, allocations: 43.94 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2998, allocations: 15.86 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.3, allocations: 39.81 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3001, allocations: 7.984 kB / 1.34 GB, free: 3.625 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 (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.0001578/0.3002, allocations: 154.3 kB / 1.341 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.3003, allocations: 35.77 kB / 1.341 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009057/0.3012, allocations: 348.6 kB / 1.341 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3012, allocations: 3.984 kB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3012, allocations: 3.938 kB / 1.341 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3012, allocations: 4 kB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.3016, allocations: 316.5 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3016, allocations: 0 / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.3018, allocations: 43.95 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3018, allocations: 0 / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3018, allocations: 7.984 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3018, allocations: 0 / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3019, allocations: 3.938 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.3027, allocations: 427.7 kB / 1.342 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.3028, allocations: 59.62 kB / 1.342 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.3029, allocations: 8 kB / 1.342 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3031, allocations: 19.97 kB / 1.342 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.3032, allocations: 19.91 kB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3032, allocations: 7.984 kB / 1.342 GB, free: 2.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002952/0.3035, allocations: 295.1 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3035, allocations: 0 / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004253/0.3039, allocations: 115.8 kB / 1.342 GB, free: 1.715 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 (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.001359/0.3053, allocations: 1.035 MB / 1.343 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009762/0.3063, allocations: 459.1 kB / 1.344 GB, free: 200 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3063, allocations: 4 kB / 1.344 GB, free: 196 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.3067, allocations: 135.8 kB / 1.344 GB, free: 60 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3071, allocations: 70.3 kB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.3129, allocations: 4.237 MB / 1.348 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3133, allocations: 0.7866 MB / 1.349 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.3134, allocations: 53.89 kB / 1.349 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3136, allocations: 103.4 kB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3136, allocations: 0 / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.3441, allocations: 8.665 MB / 1.357 GB, free: 2.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.12, allocations: 12.03 kB / 1.357 GB, free: 2.227 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.094689599005505]