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.001265/0.001265, allocations: 116.1 kB / 17.17 MB, free: 6 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.00137/0.00137, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.778/2.778, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002097/0.002097, allocations: 75.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8232, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002719/0.8259, allocations: 2.088 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.8297, allocations: 4.215 MB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.8298, allocations: 6.688 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.8305, allocations: 192.1 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.8306, allocations: 65.86 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.8312, allocations: 302.2 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.8318, allocations: 386.6 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.8319, allocations: 45.64 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.8321, allocations: 118.7 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.8322, allocations: 133.7 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.8323, allocations: 15.91 kB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.8327, allocations: 319.9 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.8328, allocations: 102.3 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.833, allocations: 149.6 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006443/0.8336, allocations: 0.5195 MB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8336, allocations: 0 / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8336, allocations: 4 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8336, allocations: 0 / 1.33 GB, free: 19.33 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.001328/0.8349, allocations: 0.7801 MB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.835, allocations: 13.48 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.984e-05/0.835, allocations: 2.703 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.835, allocations: 40.7 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.8355, allocations: 82.72 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.8361, allocations: 358 kB / 1.331 GB, free: 18.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.8361, allocations: 8.156 kB / 1.331 GB, free: 18.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.8361, allocations: 8.969 kB / 1.331 GB, free: 18.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.8366, allocations: 195.8 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8367, allocations: 0.6094 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.8367, allocations: 5.156 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.8367, allocations: 2.188 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007525/0.8374, allocations: 250.4 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.8384, allocations: 0.5923 MB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.8388, allocations: 170.9 kB / 1.332 GB, free: 17.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.8392, allocations: 129.8 kB / 1.332 GB, free: 17.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.91e-05/0.8392, allocations: 23.11 kB / 1.332 GB, free: 17.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8392, allocations: 36.55 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.8392, allocations: 3.938 kB / 1.333 GB, free: 17.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001304/0.8405, allocations: 440.1 kB / 1.333 GB, free: 17.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.8406, allocations: 60.75 kB / 1.333 GB, free: 17.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.841, allocations: 416.2 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.841, allocations: 30.59 kB / 1.333 GB, free: 17.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.8411, allocations: 189.2 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.8411, allocations: 39.05 kB / 1.334 GB, free: 17.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.8412, allocations: 39.66 kB / 1.334 GB, free: 17.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.8413, allocations: 348.8 kB / 1.334 GB, free: 16.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.8417, allocations: 168.8 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.8421, allocations: 173 kB / 1.334 GB, free: 16.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000824/0.8429, allocations: 349.6 kB / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.843, allocations: 0 / 1.335 GB, free: 16.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001106/0.8441, allocations: 477.8 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.8441, allocations: 41.3 kB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.8441, allocations: 9.188 kB / 1.335 GB, free: 16.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8441, allocations: 0.5312 kB / 1.335 GB, free: 16.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.8445, allocations: 48.12 kB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8445, allocations: 4.562 kB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.8448, allocations: 43.52 kB / 1.335 GB, free: 16.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.8448, allocations: 6.469 kB / 1.335 GB, free: 16.32 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 (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.000151/0.8449, allocations: 155.2 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.845, allocations: 36.17 kB / 1.335 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.846, allocations: 348.6 kB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.846, allocations: 2.625 kB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.846, allocations: 3.938 kB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.846, allocations: 1.406 kB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.8463, allocations: 345.3 kB / 1.336 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8463, allocations: 1.375 kB / 1.336 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.8466, allocations: 47.55 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8466, allocations: 0.6094 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.8466, allocations: 3.531 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.8466, allocations: 1.375 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.8466, allocations: 3.938 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.8475, allocations: 431.5 kB / 1.337 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.8476, allocations: 127.1 kB / 1.337 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.8476, allocations: 1.891 kB / 1.337 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.8479, allocations: 32.41 kB / 1.337 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.8479, allocations: 19.02 kB / 1.337 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.8479, allocations: 5.703 kB / 1.337 GB, free: 15.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00026/0.8482, allocations: 295 kB / 1.337 GB, free: 15.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8482, allocations: 0 / 1.337 GB, free: 15.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004869/0.8487, allocations: 117.5 kB / 1.337 GB, free: 15.3 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.001227/0.8499, allocations: 1.043 MB / 1.338 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000955/0.8509, allocations: 454 kB / 1.339 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8509, allocations: 0 / 1.339 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.8513, allocations: 145.3 kB / 1.339 GB, free: 14.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.8517, allocations: 60.94 kB / 1.339 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.8569, allocations: 4.23 MB / 1.343 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.8571, allocations: 0.7867 MB / 1.344 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.8573, allocations: 54.22 kB / 1.344 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.8574, allocations: 108.4 kB / 1.344 GB, free: 11.35 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.8574, allocations: 0 / 1.344 GB, free: 11.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.8849, allocations: 8.559 MB / 1.352 GB, free: 10.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.782/9.667, allocations: 5.016 kB / 1.352 GB, free: 10.48 MB / 1.061 GB " [Timeout remaining time 290] (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: 15.628243065031711]