Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00187/0.00187, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002284/0.002284, allocations: 210.5 kB / 23 MB, free: 4.934 MB / 14.72 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 64.72 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003407/0.3095, allocations: 2.104 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.3148, allocations: 3.923 MB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3149, allocations: 11.94 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.3157, allocations: 176.8 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.3159, allocations: 83.28 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.3166, allocations: 331.2 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.3173, allocations: 454.6 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3174, allocations: 44.89 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.3176, allocations: 139.5 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3178, allocations: 159.4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.3178, allocations: 24 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005644/0.3184, allocations: 347.5 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.3185, allocations: 119.5 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3187, allocations: 135.2 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006874/0.3194, allocations: 0.5954 MB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3194, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3194, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3194, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 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.001531/0.3209, allocations: 0.743 MB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3209, allocations: 8.031 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.3224, allocations: 240.4 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009487/0.3233, allocations: 352.7 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3233, allocations: 8.562 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.3234, allocations: 15.94 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.3241, allocations: 246.8 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3241, allocations: 0 / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.3241, allocations: 4 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3241, allocations: 7.938 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3252, allocations: 331.6 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3266, allocations: 0.5821 MB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.3272, allocations: 210.4 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.3277, allocations: 176.7 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.3278, allocations: 27.92 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3278, allocations: 34.5 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3278, allocations: 0 / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.00178/0.3296, allocations: 0.5689 MB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3296, allocations: 55.41 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.3302, allocations: 445.9 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3302, allocations: 25.7 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3304, allocations: 200.5 kB / 1.34 GB, free: 3.984 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.3304, allocations: 47.59 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3305, allocations: 49.69 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3307, allocations: 354.7 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.3314, allocations: 337.7 kB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.3321, allocations: 342.7 kB / 1.341 GB, free: 2.852 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3333, allocations: 0.5198 MB / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3333, allocations: 0 / 1.341 GB, free: 2.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001521/0.3348, allocations: 0.7644 MB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.3348, allocations: 45.69 kB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3348, allocations: 0 / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3349, allocations: 4 kB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3353, allocations: 67.86 kB / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3353, allocations: 0 / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.3357, allocations: 63.72 kB / 1.342 GB, free: 1.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.3358, allocations: 11.98 kB / 1.342 GB, free: 1.348 MB / 1.029 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 0.0001787/0.3359, allocations: 162.3 kB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.336, allocations: 39.72 kB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3373, allocations: 450.3 kB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3373, allocations: 3.984 kB / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3373, allocations: 4 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3374, allocations: 63.67 kB / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.3375, allocations: 3.938 kB / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.3379, allocations: 39.94 kB / 1.343 GB, free: 0.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.338, allocations: 15.97 kB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001506/0.3395, allocations: 492.6 kB / 1.343 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001279/0.3407, allocations: 0.5715 MB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005485/0.3413, allocations: 175.8 kB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003304/0.3416, allocations: 315 kB / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of Backend: time 3.2e-07/0.3416, allocations: 0 / 1.344 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.3431, allocations: 0.6179 MB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of SimCode: time 0.001322/0.3445, allocations: 1.1 MB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of Templates: time 0.01313/0.3576, allocations: 7.732 MB / 1.354 GB, free: 5.582 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.587686138998833]