Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001227/0.001227, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001415/0.001415, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.073/3.073, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001865/0.001865, allocations: 72.03 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2957, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003371/0.2991, allocations: 2.098 MB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004975/0.3041, allocations: 3.931 MB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.3042, allocations: 3.938 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007132/0.3049, allocations: 173.4 kB / 1.351 GB, free: 9.691 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.305, allocations: 83.28 kB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.3057, allocations: 347.1 kB / 1.352 GB, free: 9.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.3064, allocations: 442.6 kB / 1.352 GB, free: 8.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3065, allocations: 44.89 kB / 1.352 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3067, allocations: 147.5 kB / 1.352 GB, free: 8.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.3069, allocations: 159.3 kB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.3069, allocations: 20 kB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.3074, allocations: 347.4 kB / 1.353 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3076, allocations: 119.6 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3077, allocations: 135.2 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.3084, allocations: 0.5876 MB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3084, allocations: 0 / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3084, allocations: 0 / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.3084, allocations: 4 kB / 1.354 GB, free: 7.285 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001376/0.3098, allocations: 0.747 MB / 1.354 GB, free: 6.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3098, allocations: 8.031 kB / 1.354 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.431e-05/0.3098, allocations: 8.375 kB / 1.354 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.3099, allocations: 46.73 kB / 1.354 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.3117, allocations: 312.3 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009351/0.3127, allocations: 356.6 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3127, allocations: 11.94 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.3127, allocations: 12 kB / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.3134, allocations: 258.4 kB / 1.355 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3134, allocations: 3.984 kB / 1.355 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.3135, allocations: 8 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3135, allocations: 0 / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3145, allocations: 351.6 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.316, allocations: 0.6322 MB / 1.356 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.3165, allocations: 218.4 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.317, allocations: 176.7 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.3171, allocations: 19.98 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3171, allocations: 42.56 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3171, allocations: 0 / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.001739/0.3189, allocations: 0.5902 MB / 1.357 GB, free: 3.375 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3189, allocations: 59.34 kB / 1.357 GB, free: 3.305 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.3194, allocations: 445.9 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.3194, allocations: 29.7 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.3195, allocations: 200.4 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.3196, allocations: 43.64 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3197, allocations: 53.69 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3199, allocations: 346.8 kB / 1.358 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/0.3205, allocations: 349.7 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.3212, allocations: 338 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.3224, allocations: 0.5472 MB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3224, allocations: 0 / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00148/0.3239, allocations: 0.782 MB / 1.36 GB, free: 140 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.3239, allocations: 45.69 kB / 1.36 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3239, allocations: 0 / 1.36 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3239, allocations: 7.938 kB / 1.36 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.3244, allocations: 67.91 kB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3244, allocations: 7.938 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.3248, allocations: 51.97 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3249, allocations: 7.984 kB / 1.361 GB, free: 15.94 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 (18): * Single equations (assignments): 17 * 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.0001733/0.325, allocations: 161.8 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.3251, allocations: 43.72 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.3264, allocations: 468.8 kB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3264, allocations: 0 / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3264, allocations: 7.688 kB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3264, allocations: 8 kB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.3268, allocations: 316.5 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3268, allocations: 0 / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.3273, allocations: 67.84 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3273, allocations: 4 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.3273, allocations: 4 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3273, allocations: 3.938 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3273, allocations: 0 / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.3285, allocations: 0.5146 MB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3286, allocations: 67.66 kB / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.3287, allocations: 0 / 1.362 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.3291, allocations: 39.89 kB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.3291, allocations: 15.97 kB / 1.362 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.3292, allocations: 7.984 kB / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000338/0.3295, allocations: 315.1 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3295, allocations: 0 / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004529/0.33, allocations: 135.8 kB / 1.363 GB, free: 13.73 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.001701/0.3317, allocations: 1.12 MB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.333, allocations: 0.6412 MB / 1.364 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.333, allocations: 4 kB / 1.364 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.3336, allocations: 195.8 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.334, allocations: 68.98 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007658/0.3417, allocations: 5.48 MB / 1.37 GB, free: 6.062 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3419, allocations: 195.5 kB / 1.37 GB, free: 5.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002844/0.3422, allocations: 69.91 kB / 1.37 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.3424, allocations: 123.4 kB / 1.37 GB, free: 5.668 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3424, allocations: 0 / 1.37 GB, free: 5.668 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.3748, allocations: 9.948 MB / 1.38 GB, free: 11.95 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.44, allocations: 10.22 kB / 1.38 GB, free: 11.95 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.803064926993102]