Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 390.6 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 188.6 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 221.5 MB / 0.7868 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009934, allocations: 107.5 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.699e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3525, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.76/7.113, allocations: 2.199 GB / 3.411 GB, free: 76.92 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/7.113, allocations: 90.7 kB / 3.411 GB, free: 76.88 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.378/10.49, allocations: 0.9363 GB / 4.347 GB, free: 30.59 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.665e-06/10.49, allocations: 0 / 4.347 GB, free: 30.59 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009278/10.49, allocations: 131.8 kB / 4.348 GB, free: 30.46 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 0.01628/10.51, allocations: 4.316 MB / 4.352 GB, free: 26.08 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/10.51, allocations: 12.03 kB / 4.352 GB, free: 26.07 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008523/10.52, allocations: 1.188 MB / 4.353 GB, free: 24.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/10.53, allocations: 5.484 MB / 4.358 GB, free: 19.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/10.53, allocations: 123.9 kB / 4.358 GB, free: 19.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/10.54, allocations: 216 kB / 4.359 GB, free: 18.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0119/10.55, allocations: 4.36 MB / 4.363 GB, free: 14.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01863/10.57, allocations: 4.532 MB / 4.367 GB, free: 9.934 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/10.57, allocations: 15.83 kB / 4.367 GB, free: 9.918 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002029/10.57, allocations: 12 kB / 4.367 GB, free: 9.906 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/10.57, allocations: 171.3 kB / 4.368 GB, free: 9.738 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8662/11.44, allocations: 18.9 MB / 4.386 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/11.44, allocations: 3.131 MB / 4.389 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/11.44, allocations: 1.592 MB / 4.391 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00187/11.44, allocations: 1.865 MB / 4.392 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003257/11.45, allocations: 1.767 MB / 4.394 GB, free: 216.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 4.519e-06/11.45, allocations: 0 / 4.394 GB, free: 216.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.0627/11.51, allocations: 7.405 MB / 4.401 GB, free: 216.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/11.51, allocations: 289.7 kB / 4.402 GB, free: 216.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007268/11.52, allocations: 2.99 MB / 4.405 GB, free: 216 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/11.52, allocations: 30.48 kB / 4.405 GB, free: 216 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/11.52, allocations: 1.968 MB / 4.407 GB, free: 215.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/11.52, allocations: 0.8703 MB / 4.407 GB, free: 215 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/11.52, allocations: 0 / 4.407 GB, free: 215 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002403/11.52, allocations: 427.2 kB / 4.408 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/11.53, allocations: 1.274 MB / 4.409 GB, free: 214.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/11.53, allocations: 1.942 MB / 4.411 GB, free: 213.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05754/11.59, allocations: 6.04 MB / 4.417 GB, free: 213.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/11.59, allocations: 8.469 kB / 4.417 GB, free: 213.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.06116/11.65, allocations: 8.078 MB / 4.425 GB, free: 213.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001572/11.65, allocations: 7.304 MB / 4.432 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/11.65, allocations: 17.75 kB / 4.432 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/11.65, allocations: 112.9 kB / 4.432 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/11.65, allocations: 0.7982 MB / 4.433 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/11.66, allocations: 2.097 MB / 4.435 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/11.66, allocations: 424.5 kB / 4.435 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006791/11.66, allocations: 143.5 kB / 4.435 GB, free: 203.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/11.66, allocations: 10.31 kB / 4.435 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06056/11.72, allocations: 7.701 MB / 4.443 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-05/11.72, allocations: 17.84 kB / 4.443 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/11.72, allocations: 104.8 kB / 4.443 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/11.73, allocations: 0.7947 MB / 4.444 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/11.73, allocations: 1.509 MB / 4.445 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/11.73, allocations: 391.1 kB / 4.446 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004411/11.73, allocations: 146.4 kB / 4.446 GB, free: 202.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009953/11.73, allocations: 178.4 kB / 4.446 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/11.74, allocations: 360 kB / 4.446 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05917/11.8, allocations: 8.127 MB / 4.454 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/11.8, allocations: 37.55 kB / 4.454 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/11.8, allocations: 2.062 kB / 4.454 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05597/11.85, allocations: 7.335 MB / 4.461 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06819/11.92, allocations: 12.39 MB / 4.474 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/11.92, allocations: 7.312 kB / 4.474 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/11.92, allocations: 0.6286 MB / 4.474 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004943/11.92, allocations: 91.7 kB / 4.474 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002686/11.92, allocations: 64.02 kB / 4.474 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/11.92, allocations: 2.085 MB / 4.476 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/11.92, allocations: 6.906 kB / 4.476 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06086/11.99, allocations: 9.642 MB / 4.486 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003442/11.99, allocations: 1.06 MB / 4.487 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/11.99, allocations: 10.16 kB / 4.487 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004594/12, allocations: 281.3 kB / 4.487 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/12, allocations: 173.1 kB / 4.487 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003857/12, allocations: 135.4 kB / 4.487 GB, free: 197.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004098/12, allocations: 2.307 MB / 4.49 GB, free: 197.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.3e-07/12, allocations: 3.844 kB / 4.49 GB, free: 197.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01009/12.01, allocations: 2.362 MB / 4.492 GB, free: 197.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (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,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/12.01, allocations: 1.667 MB / 4.494 GB, free: 197.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008731/12.02, allocations: 5.294 MB / 4.499 GB, free: 196.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/12.02, allocations: 3.766 kB / 4.499 GB, free: 196.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002526/12.03, allocations: 1.68 MB / 4.5 GB, free: 196.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009638/12.04, allocations: 1.759 MB / 4.502 GB, free: 196.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/12.05, allocations: 7.764 MB / 4.51 GB, free: 194.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002493/12.05, allocations: 3.148 MB / 4.513 GB, free: 194 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0104/12.06, allocations: 2.827 MB / 4.516 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/12.07, allocations: 314.3 kB / 4.516 GB, free: 193.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.372e-06/12.07, allocations: 4 kB / 4.516 GB, free: 193.7 MB / 1.151 GB Notification: Performance of Templates: time 0.1248/12.19, allocations: 79.88 MB / 4.594 GB, free: 186.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches