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.0007871/0.0007871, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001793, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006745/0.0006745, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008353/0.00151, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8923/0.8923, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09533/0.9876, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.74/1.74, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4755/2.215, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.623e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.005669/0.005686, allocations: 2.238 MB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007329/0.01301, allocations: 4.255 MB / 0.7357 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.01311, allocations: 3.938 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.01367, allocations: 185.2 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.0138, allocations: 86.06 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.01431, allocations: 301.3 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.01785, allocations: 449 kB / 0.7367 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.01795, allocations: 50.81 kB / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.01819, allocations: 239.4 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.01834, allocations: 124.4 kB / 0.7371 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.01838, allocations: 20.81 kB / 0.7371 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.01888, allocations: 348.8 kB / 0.7374 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.01898, allocations: 99.7 kB / 0.7375 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.01907, allocations: 91.69 kB / 0.7376 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.0196, allocations: 474.4 kB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.01961, allocations: 5.25 kB / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01961, allocations: 0 / 0.738 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.01963, allocations: 0 / 0.738 GB, free: 11.64 MB / 0.7136 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.003954/0.02358, allocations: 0.7594 MB / 0.7388 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.02361, allocations: 8.031 kB / 0.7388 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.02422, allocations: 213.8 kB / 0.739 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.02451, allocations: 258.7 kB / 0.7392 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.02452, allocations: 8.562 kB / 0.7393 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.02455, allocations: 12.38 kB / 0.7393 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.02484, allocations: 169.1 kB / 0.7394 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.02485, allocations: 0 / 0.7394 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.02486, allocations: 8 kB / 0.7394 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.02487, allocations: 0 / 0.7394 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.02498, allocations: 49.66 kB / 0.7395 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.02563, allocations: 357.5 kB / 0.7398 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.02576, allocations: 103.7 kB / 0.7399 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.02583, allocations: 41.02 kB / 0.74 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.488e-05/0.02588, allocations: 27.92 kB / 0.74 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.0259, allocations: 30.56 kB / 0.74 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.0259, allocations: 0 / 0.74 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002849/0.02619, allocations: 139.3 kB / 0.7401 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.02622, allocations: 59.41 kB / 0.7402 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/0.0295, allocations: 371.2 kB / 0.7406 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.02952, allocations: 29.7 kB / 0.7406 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.02959, allocations: 142.5 kB / 0.7407 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.02963, allocations: 47.56 kB / 0.7408 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.02971, allocations: 49.66 kB / 0.7408 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.02981, allocations: 355.7 kB / 0.7412 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.02992, allocations: 92.73 kB / 0.7412 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.03001, allocations: 83.39 kB / 0.7413 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.03019, allocations: 147.2 kB / 0.7415 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.03019, allocations: 0 / 0.7415 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000275/0.03046, allocations: 254.8 kB / 0.7417 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.03051, allocations: 46.34 kB / 0.7418 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.03051, allocations: 0 / 0.7418 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.03052, allocations: 4.594 kB / 0.7418 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.03076, allocations: 60.55 kB / 0.7418 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.03076, allocations: 8.672 kB / 0.7418 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.03091, allocations: 40.34 kB / 0.7419 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.03093, allocations: 8.609 kB / 0.7419 GB, free: 7.531 MB / 0.7136 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.926e-05/0.03101, allocations: 121.2 kB / 0.742 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.03106, allocations: 29.41 kB / 0.742 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.03131, allocations: 150.2 kB / 0.7422 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.03131, allocations: 4 kB / 0.7422 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.03131, allocations: 0.75 kB / 0.7422 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.03131, allocations: 0 / 0.7422 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.03152, allocations: 170.3 kB / 0.7423 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.03153, allocations: 4.625 kB / 0.7423 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.03171, allocations: 53.47 kB / 0.7424 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.03179, allocations: 43.7 kB / 0.7424 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.03179, allocations: 7.922 kB / 0.7424 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.03181, allocations: 8 kB / 0.7424 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.03181, allocations: 2.344 kB / 0.7424 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03181, allocations: 0 / 0.7424 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.03203, allocations: 250.2 kB / 0.7427 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.03207, allocations: 15.88 kB / 0.7427 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/0.03522, allocations: 22.41 kB / 0.7427 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.03528, allocations: 19.97 kB / 0.7427 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.03529, allocations: 3.984 kB / 0.7427 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001367/0.03543, allocations: 156.7 kB / 0.7429 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.03543, allocations: 4 kB / 0.7429 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003335/0.03576, allocations: 123.8 kB / 0.743 GB, free: 6.324 MB / 0.7136 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.0002631/0.03603, allocations: 177.6 kB / 0.7432 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.03632, allocations: 242.5 kB / 0.7434 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.03633, allocations: 8 kB / 0.7434 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.03642, allocations: 59.14 kB / 0.7435 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.03675, allocations: 92.61 kB / 0.7436 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.04795, allocations: 0.6087 MB / 0.7442 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.04802, allocations: 104.3 kB / 0.7443 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.04819, allocations: 45.14 kB / 0.7443 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003907/0.0521, allocations: 107.3 kB / 0.7444 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of SimCode: time 8.81e-07/0.0521, allocations: 0 / 0.7444 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.008518/0.06062, allocations: 6.082 MB / 0.7503 GB, free: 14.95 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.ref.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: 4.68023014254868]