Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.0008826/0.0008826, 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.0004237/0.0004237, 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.1892/0.1892, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.8339/0.8339, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 15.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: simulate(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=50018,outputFormat="mat",variableFilter="time|solAsh.vol.[0-9,]+..T|solEn.vol.[0-9,]+..T|weaBus.TDryBul|solAsh.QLos.[0-9,]+..Q_flow|solEn.QLos.[0-9,]+..Q_flow|weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,startTime=0,stopTime=86400,tolerance=1e-06,numberOfIntervals=50018,outputFormat="mat",variableFilter="time|solAsh.vol.[0-9,]+..T|solEn.vol.[0-9,]+..T|weaBus.TDryBul|solAsh.QLos.[0-9,]+..Q_flow|solEn.QLos.[0-9,]+..Q_flow|weaBus.HDifHor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.596e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions): time 0.04346/0.04349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.07894/0.1224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.004388/0.1268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.003627/0.1304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006318/0.1368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.007438/0.1442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0334/0.1776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.1885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01299/0.2015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.2058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0007806/0.2066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.2096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.003106/0.2127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00199/0.2147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.006745/0.2215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0005457/0.222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.581e-06/0.222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.092e-05/0.2221, 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: 796 * Number of variables: 796 Notification: Performance of Generate backend data structure: time 0.0077/0.2298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002098/0.23, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006255/0.2362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.2404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.2405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.005966/0.2469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/0.247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/0.2473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/0.2476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.2502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.2653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.2682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.2689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.2691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.2709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=212): time 8.135e-06/0.2709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=212): time 0.002861/0.2738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.2739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.2763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003769/0.2767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0007596/0.2775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004903/0.2779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.000807/0.2787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.911e-05/0.2788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.2798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.2829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.2829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=354) (initialization): time 0.003106/0.286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.2861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/0.2861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.2887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/0.2887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.2905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.2907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001495/0.2922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009813/0.2932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001751/0.295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.509e-05/0.295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=354) (initialization_lambda0): time 0.002607/0.2976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.2976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.2976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.2977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.3001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.3001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.3019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.3021, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 20 (solEn.HDirTil.incAng.decAng.k,$PRE.solEn.HDirTil.incAng.decAng.k,solEn.HDirTil.incAng.decAng.tNext,$PRE.solEn.HDirTil.incAng.decAng.tNext,solEn.HDifTilIso.incAng.decAng.k,$PRE.solEn.HDifTilIso.incAng.decAng.k,solEn.HDifTilIso.incAng.decAng.tNext,$PRE.solEn.HDifTilIso.incAng.decAng.tNext,solAsh.HDirTil.incAng.decAng.k,$PRE.solAsh.HDirTil.incAng.decAng.k,solAsh.HDirTil.incAng.decAng.tNext,$PRE.solAsh.HDirTil.incAng.decAng.tNext,solAsh.HDifTilIso.incAng.decAng.k,$PRE.solAsh.HDifTilIso.incAng.decAng.k,solAsh.HDifTilIso.incAng.decAng.tNext,$PRE.solAsh.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 334 * Array equations: 0 * Algorithm blocks: 2 * 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.0009734/0.3031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.3036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.3067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.3067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001561/0.3083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/0.3159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.3159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/0.318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/0.3182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.3183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.3215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.3225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008418/0.3233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.3247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/0.3251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/0.3253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001507/0.3268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.108e-05/0.3269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003227/0.3301, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,solAsh.HDifTilIso.incAng.decAng.tNext,solAsh.HDifTilIso.incAng.decAng.k,solAsh.HDirTil.incAng.decAng.tNext,solAsh.HDirTil.incAng.decAng.k,solEn.HDifTilIso.incAng.decAng.tNext,solEn.HDifTilIso.incAng.decAng.k,solEn.HDirTil.incAng.decAng.tNext,solEn.HDirTil.incAng.decAng.k) * Number of discrete states: 8 (solAsh.HDirTil.incAng.decAng.tNext,solAsh.HDifTilIso.incAng.decAng.tNext,solEn.HDirTil.incAng.decAng.tNext,solEn.HDifTilIso.incAng.decAng.tNext,solAsh.HDifTilIso.incAng.decAng.k,solAsh.HDirTil.incAng.decAng.k,solEn.HDifTilIso.incAng.decAng.k,solEn.HDirTil.incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 8 * 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.001781/0.3319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004187/0.3361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.498e-05/0.3362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.3371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.3412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.3479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.3488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.00293/0.3517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/0.3547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001793/0.3549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01685/0.3717, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 539] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.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: 3.3911705762147903]