Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 103.7 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 191.6 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.22 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2339, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003226/0.2372, allocations: 2.139 MB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.2414, allocations: 3.79 MB / 0.9569 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.633e-05/0.2415, allocations: 3.938 kB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.2418, allocations: 71.42 kB / 0.957 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.2421, allocations: 119.1 kB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2424, allocations: 155.6 kB / 0.9572 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.2427, allocations: 314.9 kB / 0.9575 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2429, allocations: 48.73 kB / 0.9576 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2431, allocations: 131.5 kB / 0.9577 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.2433, allocations: 155.3 kB / 0.9579 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.2433, allocations: 20 kB / 0.9579 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.2436, allocations: 135.8 kB / 0.958 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.2436, allocations: 55.81 kB / 0.9581 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2438, allocations: 119.3 kB / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2441, allocations: 338.9 kB / 0.9585 GB, free: 420 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2441, allocations: 0 / 0.9585 GB, free: 420 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2441, allocations: 0 / 0.9585 GB, free: 420 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2442, allocations: 0 / 0.9585 GB, free: 420 kB / 0.7325 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.001192/0.2454, allocations: 0.6395 MB / 0.9591 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2454, allocations: 8.031 kB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/0.2463, allocations: 168.5 kB / 0.9593 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.247, allocations: 336.1 kB / 0.9596 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.247, allocations: 8.562 kB / 0.9596 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.2471, allocations: 19.92 kB / 0.9596 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.2477, allocations: 217.5 kB / 0.9598 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2478, allocations: 4 kB / 0.9599 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.2478, allocations: 4 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2478, allocations: 4 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.2487, allocations: 277.7 kB / 0.9601 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.25, allocations: 0.5706 MB / 0.9607 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.2505, allocations: 178.4 kB / 0.9609 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.251, allocations: 160.7 kB / 0.961 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008179/0.2518, allocations: 0.5454 MB / 0.9615 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2519, allocations: 34.56 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2519, allocations: 4 kB / 0.9616 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.001556/0.2534, allocations: 480.1 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.2535, allocations: 59.39 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.2537, allocations: 260.5 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2538, allocations: 29.7 kB / 0.9624 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.2539, allocations: 151.9 kB / 0.9625 GB, free: 12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.2539, allocations: 47.34 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.254, allocations: 37.69 kB / 0.9626 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2541, allocations: 342.7 kB / 0.9629 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.2546, allocations: 147.9 kB / 0.9631 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.2551, allocations: 155.8 kB / 0.9632 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.256, allocations: 290.8 kB / 0.9635 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.256, allocations: 0 / 0.9635 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001046/0.2571, allocations: 365 kB / 0.9638 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2571, allocations: 4 kB / 0.9638 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2571, allocations: 8 kB / 0.9638 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2571, allocations: 0 / 0.9638 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.2576, allocations: 63.86 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2576, allocations: 7.984 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2579, allocations: 47.8 kB / 0.964 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.258, allocations: 7.984 kB / 0.964 GB, free: 10.48 MB / 0.7481 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001206/0.2581, allocations: 123.8 kB / 0.9641 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.2582, allocations: 27.72 kB / 0.9641 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2593, allocations: 387.5 kB / 0.9645 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2593, allocations: 3.938 kB / 0.9645 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2593, allocations: 0 / 0.9645 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.2593, allocations: 3.938 kB / 0.9645 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.2597, allocations: 309.3 kB / 0.9648 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2597, allocations: 0 / 0.9648 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.2601, allocations: 59.92 kB / 0.9648 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2601, allocations: 4 kB / 0.9648 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.2601, allocations: 3.984 kB / 0.9648 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2601, allocations: 8 kB / 0.9649 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2601, allocations: 3.938 kB / 0.9649 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2612, allocations: 446.9 kB / 0.9653 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.2614, allocations: 116.8 kB / 0.9654 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2614, allocations: 0 / 0.9654 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.2618, allocations: 39.95 kB / 0.9654 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.2619, allocations: 19.97 kB / 0.9655 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.2619, allocations: 11.92 kB / 0.9655 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001629/0.2621, allocations: 183.1 kB / 0.9656 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2621, allocations: 4 kB / 0.9656 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000347/0.2624, allocations: 67.84 kB / 0.9657 GB, free: 8.598 MB / 0.7481 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.0002337/0.2627, allocations: 147.1 kB / 0.9658 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.2637, allocations: 318.2 kB / 0.9662 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2637, allocations: 0 / 0.9662 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.2643, allocations: 167.8 kB / 0.9663 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2648, allocations: 36.56 kB / 0.9663 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2658, allocations: 0.4963 MB / 0.9668 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.2661, allocations: 0.7435 MB / 0.9676 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.2663, allocations: 49.33 kB / 0.9676 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2664, allocations: 23.42 kB / 0.9676 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.2664, allocations: 0 / 0.9676 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.006572/0.273, allocations: 3.282 MB / 0.9708 GB, free: 3.316 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches