Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001392/0.001392, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001538/0.001538, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.495/1.495, allocations: 177.2 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.14/3.14, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.211e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003804/0.003836, allocations: 1.868 MB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006244/0.01008, allocations: 3.451 MB / 0.8828 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.01025, allocations: 6.469 kB / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009925/0.01124, allocations: 185.1 kB / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.01155, allocations: 83.34 kB / 0.883 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.0117, allocations: 48.64 kB / 0.8831 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.01234, allocations: 289.8 kB / 0.8834 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.01245, allocations: 17.8 kB / 0.8834 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.01266, allocations: 99.78 kB / 0.8835 GB, free: 480 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.01284, allocations: 67.8 kB / 0.8835 GB, free: 412 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.01287, allocations: 8 kB / 0.8836 GB, free: 404 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.01299, allocations: 39.8 kB / 0.8836 GB, free: 364 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.69e-05/0.01309, allocations: 59.81 kB / 0.8836 GB, free: 304 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.01318, allocations: 47.86 kB / 0.8837 GB, free: 256 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.01355, allocations: 199.2 kB / 0.8839 GB, free: 56 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.01356, allocations: 4 kB / 0.8839 GB, free: 52 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01356, allocations: 4 kB / 0.8839 GB, free: 48 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.01357, allocations: 0 / 0.8839 GB, free: 48 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001157/0.01472, allocations: 476.9 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.01477, allocations: 8.031 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.0158, allocations: 132.6 kB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006081/0.01641, allocations: 213.8 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.01642, allocations: 384 / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.01645, allocations: 4.375 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.0169, allocations: 162.1 kB / 0.8848 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.01691, allocations: 192 / 0.8848 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.01694, allocations: 4.125 kB / 0.8848 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.01697, allocations: 15.92 kB / 0.8849 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.01747, allocations: 155.9 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008423/0.01832, allocations: 388.3 kB / 0.8854 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.01883, allocations: 186.3 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.01913, allocations: 104.8 kB / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.01916, allocations: 4 kB / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.0192, allocations: 34.56 kB / 0.8857 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.0192, allocations: 0 / 0.8857 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001051/0.02025, allocations: 336.7 kB / 0.886 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.0203, allocations: 51.41 kB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.02063, allocations: 256.2 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.02066, allocations: 25.7 kB / 0.8863 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.02079, allocations: 144 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.0211, allocations: 51.58 kB / 0.8865 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.02118, allocations: 29.7 kB / 0.8866 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.02138, allocations: 334.8 kB / 0.8869 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.02168, allocations: 79.94 kB / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.02192, allocations: 79.92 kB / 0.887 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.02246, allocations: 184.7 kB / 0.8872 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.02247, allocations: 0 / 0.8872 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006725/0.02314, allocations: 252.9 kB / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.02316, allocations: 4 kB / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02317, allocations: 0 / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.02319, allocations: 0 / 0.8874 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.02353, allocations: 43.89 kB / 0.8875 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.02354, allocations: 0 / 0.8875 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.02375, allocations: 19.92 kB / 0.8875 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.02377, allocations: 8 kB / 0.8875 GB, free: 12.17 MB / 0.8542 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 (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 prepare postOptimizeDAE: time 0.0001693/0.02394, allocations: 141.8 kB / 0.8876 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.02402, allocations: 31.8 kB / 0.8877 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.0241, allocations: 33.8 kB / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.0241, allocations: 0 / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.02411, allocations: 0 / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02411, allocations: 0 / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.02447, allocations: 209.2 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02447, allocations: 0 / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.02475, allocations: 39.84 kB / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.02475, allocations: 0 / 0.8879 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.02478, allocations: 11.98 kB / 0.888 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02478, allocations: 0 / 0.888 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02478, allocations: 0 / 0.888 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.02554, allocations: 335.3 kB / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.02565, allocations: 47.67 kB / 0.8883 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.02569, allocations: 7.984 kB / 0.8883 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.02592, allocations: 15.98 kB / 0.8883 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.02599, allocations: 15.92 kB / 0.8884 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.02601, allocations: 11.92 kB / 0.8884 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002119/0.02623, allocations: 183.1 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02623, allocations: 0 / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000311/0.02654, allocations: 36 kB / 0.8886 GB, free: 11.01 MB / 0.8542 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.0001646/0.0267, allocations: 99.25 kB / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006424/0.02734, allocations: 191.8 kB / 0.8889 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.02735, allocations: 4 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.02763, allocations: 87.92 kB / 0.8889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.02811, allocations: 76.78 kB / 0.889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02912, allocations: 465.7 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.02931, allocations: 136.1 kB / 0.8896 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.02955, allocations: 57.45 kB / 0.8896 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.02965, allocations: 24.48 kB / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.02965, allocations: 0 / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of Templates: time 0.007491/0.03714, allocations: 2.737 MB / 0.8923 GB, free: 7.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.284686981001869]