Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001001/0.001001, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007911/0.0007911, allocations: 174.3 kB / 23.21 MB, free: 1.355 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 0.8915/0.8915, allocations: 177.2 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.234e-05, allocations: 2.281 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002412/0.002434, allocations: 2.072 MB / 0.9538 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.005598, allocations: 3.65 MB / 0.9573 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.005699, allocations: 4 kB / 0.9573 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.005936, allocations: 67.38 kB / 0.9574 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.006228, allocations: 119.1 kB / 0.9575 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.006533, allocations: 203.3 kB / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.006843, allocations: 334.7 kB / 0.958 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.006957, allocations: 44.78 kB / 0.9581 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.007185, allocations: 179.6 kB / 0.9582 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.007306, allocations: 115.7 kB / 0.9583 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.007336, allocations: 20 kB / 0.9584 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.007512, allocations: 127.7 kB / 0.9585 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.007567, allocations: 59.75 kB / 0.9585 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.007636, allocations: 83.73 kB / 0.9586 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.007983, allocations: 378.8 kB / 0.959 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007986, allocations: 3.938 kB / 0.959 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007987, allocations: 0 / 0.959 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.007992, allocations: 0 / 0.959 GB, free: 11.54 MB / 0.9167 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.0007608/0.008753, allocations: 0.5824 MB / 0.9595 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.008792, allocations: 12.03 kB / 0.9596 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006451/0.009437, allocations: 224.4 kB / 0.9598 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.009897, allocations: 281.8 kB / 0.96 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.00991, allocations: 8.562 kB / 0.9601 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.009932, allocations: 16.38 kB / 0.9601 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.01031, allocations: 231.6 kB / 0.9603 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.01032, allocations: 0 / 0.9603 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.01034, allocations: 8 kB / 0.9603 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.01034, allocations: 0 / 0.9603 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.01094, allocations: 279.7 kB / 0.9606 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/0.01167, allocations: 0.4883 MB / 0.961 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.01195, allocations: 158.4 kB / 0.9612 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.0122, allocations: 152.7 kB / 0.9613 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.01252, allocations: 108.1 kB / 0.9614 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.01254, allocations: 30.56 kB / 0.9615 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.01254, allocations: 0 / 0.9615 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0009016/0.01345, allocations: 490.2 kB / 0.9619 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.01348, allocations: 51.41 kB / 0.962 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.01366, allocations: 276.5 kB / 0.9622 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01368, allocations: 29.7 kB / 0.9623 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.01376, allocations: 148.1 kB / 0.9624 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.0138, allocations: 51.58 kB / 0.9625 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.01386, allocations: 37.69 kB / 0.9625 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.01396, allocations: 338.8 kB / 0.9628 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.01422, allocations: 147.8 kB / 0.963 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.01447, allocations: 154.4 kB / 0.9631 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.01497, allocations: 300.5 kB / 0.9634 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01498, allocations: 4 kB / 0.9634 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005917/0.01557, allocations: 367.9 kB / 0.9638 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01558, allocations: 7.938 kB / 0.9638 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01559, allocations: 4 kB / 0.9638 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.0156, allocations: 3.938 kB / 0.9638 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.01581, allocations: 71.86 kB / 0.9638 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01582, allocations: 0 / 0.9638 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.01595, allocations: 39.89 kB / 0.9639 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.01597, allocations: 15.98 kB / 0.9639 GB, free: 6.332 MB / 0.9167 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 9.603e-05/0.01607, allocations: 129.8 kB / 0.964 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.0161, allocations: 27.81 kB / 0.964 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.01674, allocations: 381.2 kB / 0.9644 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01674, allocations: 4 kB / 0.9644 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01674, allocations: 0 / 0.9644 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01675, allocations: 0 / 0.9644 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01693, allocations: 225 kB / 0.9646 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01693, allocations: 0 / 0.9646 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.01709, allocations: 59.91 kB / 0.9647 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01709, allocations: 0 / 0.9647 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.01711, allocations: 8 kB / 0.9647 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01711, allocations: 4 kB / 0.9647 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01712, allocations: 0 / 0.9647 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.0177, allocations: 457.8 kB / 0.9651 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.01776, allocations: 43.78 kB / 0.9652 GB, free: 4.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.01779, allocations: 4 kB / 0.9652 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.01793, allocations: 35.94 kB / 0.9652 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.01799, allocations: 23.97 kB / 0.9652 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.018, allocations: 4 kB / 0.9652 GB, free: 4.891 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001133/0.01811, allocations: 195.1 kB / 0.9654 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01811, allocations: 4 kB / 0.9654 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002358/0.01835, allocations: 67.81 kB / 0.9655 GB, free: 4.629 MB / 0.9167 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.0001818/0.01853, allocations: 147.1 kB / 0.9656 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005743/0.0191, allocations: 307.7 kB / 0.9659 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0191, allocations: 4 kB / 0.9659 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.01937, allocations: 159.8 kB / 0.9661 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.01965, allocations: 42.89 kB / 0.9661 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.02036, allocations: 0.5208 MB / 0.9666 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.02046, allocations: 146.4 kB / 0.9668 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.02056, allocations: 32.47 kB / 0.9668 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.02056, allocations: 0 / 0.9668 GB, free: 3.227 MB / 0.9167 GB Notification: Performance of Templates: time 0.004333/0.0249, allocations: 4.026 MB / 0.9707 GB, free: 15.22 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.909535494633019]