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.001019/0.001019, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009762/0.0009762, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.354/2.354, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.323e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003582/0.003605, allocations: 2.193 MB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005457/0.009062, allocations: 4.226 MB / 0.8449 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.009233, allocations: 3.938 kB / 0.8449 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.01006, allocations: 183 kB / 0.845 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.01025, allocations: 87.22 kB / 0.8451 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.01086, allocations: 335 kB / 0.8454 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.01136, allocations: 462.5 kB / 0.8459 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.01146, allocations: 46.58 kB / 0.8459 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.01196, allocations: 195.5 kB / 0.8461 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.01209, allocations: 127.7 kB / 0.8462 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.01212, allocations: 20 kB / 0.8463 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.01249, allocations: 327.4 kB / 0.8466 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.01259, allocations: 115.6 kB / 0.8467 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.01267, allocations: 107.7 kB / 0.8468 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.01315, allocations: 0.5489 MB / 0.8473 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01315, allocations: 0 / 0.8473 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.254e-06/0.01316, allocations: 4 kB / 0.8473 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01316, allocations: 0 / 0.8473 GB, free: 5.242 MB / 0.8073 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.0006683/0.01383, allocations: 0.675 MB / 0.848 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.01387, allocations: 12.62 kB / 0.848 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.01451, allocations: 188.7 kB / 0.8482 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.01476, allocations: 263.9 kB / 0.8484 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.01477, allocations: 4.562 kB / 0.8484 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.01479, allocations: 12.38 kB / 0.8484 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01505, allocations: 174.8 kB / 0.8486 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.01505, allocations: 4 kB / 0.8486 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.01507, allocations: 4 kB / 0.8486 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01508, allocations: 0 / 0.8486 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.01517, allocations: 61.78 kB / 0.8487 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.01573, allocations: 357.6 kB / 0.849 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.01584, allocations: 113.2 kB / 0.8491 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.0159, allocations: 45.02 kB / 0.8492 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.01594, allocations: 27.94 kB / 0.8492 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.01596, allocations: 34.55 kB / 0.8492 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01596, allocations: 0 / 0.8492 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002481/0.01621, allocations: 153.4 kB / 0.8494 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.01623, allocations: 59.41 kB / 0.8494 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.01643, allocations: 363.2 kB / 0.8498 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01645, allocations: 29.7 kB / 0.8498 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.01651, allocations: 141.4 kB / 0.8499 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.01655, allocations: 47.53 kB / 0.85 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.01661, allocations: 53.64 kB / 0.85 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.0167, allocations: 354.7 kB / 0.8504 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.01678, allocations: 80.75 kB / 0.8504 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.01687, allocations: 90.12 kB / 0.8505 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.01702, allocations: 153.1 kB / 0.8507 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01702, allocations: 0 / 0.8507 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002222/0.01724, allocations: 242.3 kB / 0.8509 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.01728, allocations: 47.88 kB / 0.851 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01728, allocations: 0 / 0.851 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01729, allocations: 4 kB / 0.851 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.01746, allocations: 47.95 kB / 0.851 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01746, allocations: 3.984 kB / 0.851 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01758, allocations: 39.81 kB / 0.851 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.01759, allocations: 7.984 kB / 0.8511 GB, free: 1.215 MB / 0.8073 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 8.537e-05/0.01768, allocations: 120.6 kB / 0.8512 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.01772, allocations: 27.91 kB / 0.8512 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.01795, allocations: 169.1 kB / 0.8514 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01795, allocations: 0 / 0.8514 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01795, allocations: 0 / 0.8514 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01795, allocations: 0 / 0.8514 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.01812, allocations: 169.7 kB / 0.8515 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01813, allocations: 0 / 0.8515 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.01825, allocations: 51.88 kB / 0.8516 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01825, allocations: 4 kB / 0.8516 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01827, allocations: 11.92 kB / 0.8516 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01827, allocations: 0 / 0.8516 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01827, allocations: 4 kB / 0.8516 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01847, allocations: 254.2 kB / 0.8518 GB, free: 376 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.01853, allocations: 51.64 kB / 0.8519 GB, free: 324 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.01856, allocations: 7.938 kB / 0.8519 GB, free: 316 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01867, allocations: 19.98 kB / 0.8519 GB, free: 296 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.01872, allocations: 27.95 kB / 0.8519 GB, free: 268 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01873, allocations: 4 kB / 0.8519 GB, free: 264 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000101/0.01883, allocations: 160.7 kB / 0.8521 GB, free: 104 kB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01883, allocations: 0 / 0.8521 GB, free: 104 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000281/0.01911, allocations: 131.7 kB / 0.8522 GB, free: 15.97 MB / 0.823 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.0002115/0.01932, allocations: 168.2 kB / 0.8524 GB, free: 15.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.01955, allocations: 234 kB / 0.8526 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.01955, allocations: 4 kB / 0.8526 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.884e-05/0.01962, allocations: 56.83 kB / 0.8527 GB, free: 15.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.01987, allocations: 69.3 kB / 0.8527 GB, free: 15.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.02078, allocations: 0.6192 MB / 0.8533 GB, free: 14.77 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.02084, allocations: 104.3 kB / 0.8534 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000146/0.02098, allocations: 49.92 kB / 0.8535 GB, free: 14.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.02115, allocations: 107.3 kB / 0.8536 GB, free: 14.5 MB / 0.823 GB Notification: Performance of SimCode: time 4.11e-07/0.02115, allocations: 0 / 0.8536 GB, free: 14.5 MB / 0.823 GB Notification: Performance of Templates: time 0.007258/0.02841, allocations: 6.004 MB / 0.8594 GB, free: 8.582 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.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: 5.5118411858566105]