Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00166/0.00166, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002416/0.002416, allocations: 216.3 kB / 22.25 MB, free: 5.129 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.8 MB / 0.7707 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.002096/0.002096, allocations: 68.81 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3066, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00354/0.3101, allocations: 2.203 MB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005403/0.3155, allocations: 3.981 MB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3156, allocations: 11.94 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.3159, allocations: 59.48 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.3163, allocations: 119.1 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3168, allocations: 195.5 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.3173, allocations: 326.8 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3174, allocations: 52.69 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.3177, allocations: 147.5 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3179, allocations: 147.4 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.3179, allocations: 20 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.3182, allocations: 143.8 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.3183, allocations: 59.77 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3184, allocations: 131.2 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.3189, allocations: 354.5 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3189, allocations: 3.938 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3189, allocations: 0 / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3189, allocations: 0 / 1.291 GB, free: 3.625 MB / 0.9825 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.001282/0.3202, allocations: 0.5863 MB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3202, allocations: 8.031 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.3203, allocations: 42.73 kB / 1.292 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3216, allocations: 232.4 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.3225, allocations: 274.6 kB / 1.292 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3225, allocations: 12.31 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.3225, allocations: 15.94 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.3232, allocations: 221.5 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3232, allocations: 0 / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.3232, allocations: 8 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3232, allocations: 0 / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009936/0.3242, allocations: 283.7 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3256, allocations: 0.5541 MB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.3262, allocations: 162.4 kB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.3267, allocations: 148.7 kB / 1.294 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007076/0.3274, allocations: 107.8 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3274, allocations: 30.56 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/0.3274, allocations: 3.938 kB / 1.294 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001706/0.3291, allocations: 492.5 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3292, allocations: 51.41 kB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3295, allocations: 284.5 kB / 1.294 GB, free: 0 / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3295, allocations: 25.7 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3296, allocations: 156 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.3297, allocations: 43.64 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.3298, allocations: 41.69 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3299, allocations: 338.8 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.3304, allocations: 143.9 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.3309, allocations: 154.3 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.3319, allocations: 288.6 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3319, allocations: 0 / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001159/0.3331, allocations: 379.5 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3331, allocations: 11.98 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3331, allocations: 0 / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3331, allocations: 0 / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.3336, allocations: 63.86 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3336, allocations: 4 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.3339, allocations: 47.78 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3339, allocations: 11.98 kB / 1.296 GB, free: 14.3 MB / 0.9981 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 (17): * Single equations (assignments): 17 * 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.0001519/0.3341, allocations: 129.8 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.3341, allocations: 31.81 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.3354, allocations: 376.1 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3354, allocations: 4 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3354, allocations: 0 / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3354, allocations: 7.938 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.3357, allocations: 276.5 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3357, allocations: 4 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3361, allocations: 59.92 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3361, allocations: 0 / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3362, allocations: 7.984 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3362, allocations: 4 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3362, allocations: 0 / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3373, allocations: 459 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3374, allocations: 47.77 kB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3375, allocations: 4 kB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.3378, allocations: 35.89 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.3379, allocations: 23.91 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3379, allocations: 7.984 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001893/0.3381, allocations: 191.1 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3381, allocations: 4 kB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003691/0.3385, allocations: 83.75 kB / 1.298 GB, free: 12.5 MB / 0.9981 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.001572/0.3401, allocations: 1.01 MB / 1.299 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.3412, allocations: 311.7 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3412, allocations: 0 / 1.299 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.3417, allocations: 151.8 kB / 1.299 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.3421, allocations: 47.16 kB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.3475, allocations: 2.945 MB / 1.302 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3478, allocations: 0.7514 MB / 1.303 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.3481, allocations: 53.36 kB / 1.303 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3482, allocations: 83.39 kB / 1.303 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3482, allocations: 0 / 1.303 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.3823, allocations: 6.206 MB / 1.309 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 9.578 kB / 1.309 GB, free: 0.9961 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.66217661392875]