Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002587/0.0002587, allocations: 0 / 0, free: 0 / 0 " [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.0002691/0.0002691, allocations: 0 / 0, free: 0 / 0 " [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 0.1148/0.1148, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.2587/0.2587, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: simulate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|solCol.vol.[0-9,]+..T|datRea.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|solCol.vol.[0-9,]+..T|datRea.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.328e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.02344/0.02347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.2161/0.2396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.2423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.002561/0.2448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.005572/0.2504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005586/0.256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.03026/0.2862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01813/0.3044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.04466/0.349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.02557/0.3746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.004577/0.3792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.007753/0.3869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.01238/0.3993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.02149/0.4208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.03597/0.4568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.005812/0.4626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.145e-06/0.4626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0004793/0.4631, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2435 * Number of variables: 2435 Notification: Performance of Generate backend data structure: time 0.03834/0.5014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0009808/0.5024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/0.511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.02041/0.5314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009973/0.5324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.003835/0.5363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.5533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.5535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/0.5548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005008/0.5553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008462/0.5638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05637/0.6201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.008372/0.6285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.6313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004736/0.6367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=641): time 3.633e-05/0.6368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=641): time 0.008101/0.6449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/0.6558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.00216/0.658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.003566/0.6616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.002825/0.6644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002577/0.667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.251e-05/0.667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.6693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/0.6721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.006158/0.6783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.6784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=985) (initialization): time 0.01028/0.6887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.6888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.951e-05/0.6889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.6891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006001/0.6951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002569/0.6953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/0.7016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/0.7028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006435/0.7092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003304/0.7125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005958/0.7185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.213e-05/0.7186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=985) (initialization_lambda0): time 0.0111/0.7297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.7298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.73, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.7301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/0.7362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002485/0.7365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005722/0.7422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009752/0.7432, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.datRea.nextTimeEvent,$whenCondition1,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.k,$PRE.solCol.HDirTil.incAng.decAng.k,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.k,$PRE.solCol.HDifTilIso.incAng.decAng.k,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (976): * Single equations (assignments): 975 * 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.00397/0.7471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002583/0.7497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.503e-05/0.7641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/0.7641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008306/0.7724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/0.8026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.8026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005501/0.8081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-05/0.8082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/0.8094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.549e-05/0.8095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/0.8221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.005191/0.8273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003819/0.8311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004984/0.8361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0019/0.838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001135/0.8391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.006778/0.8459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.000796/0.8467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.02253/0.8692, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,solCol.HDifTilIso.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.k,solCol.HDirTil.incAng.decAng.tNext,solCol.HDirTil.incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 16 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,solCol.HDifTilIso.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.k,solCol.HDirTil.incAng.decAng.tNext,solCol.HDirTil.incAng.decAng.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (664): * Single equations (assignments): 646 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 16 * 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.00769/0.8769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0199/0.8968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.873e-05/0.8968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.005829/0.9027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02453/0.9272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03614/0.9633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005485/0.9688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.015/0.9838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0222/1.006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001575/1.008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.06416/1.072, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 538] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Validation_FlatPlate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 2.789917645044625]