Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001339/0.001339, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001642/0.001642, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9144/0.9144, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.742/1.742, allocations: 359 MB / 0.6055 GB, free: 10.89 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.695e-05, allocations: 7.156 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002455/0.002482, allocations: 1.948 MB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.005647, allocations: 3.555 MB / 0.7929 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.00577, allocations: 7.938 kB / 0.7929 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.006003, allocations: 39.7 kB / 0.793 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.00643, allocations: 141.7 kB / 0.7931 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.006552, allocations: 51.91 kB / 0.7932 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.006747, allocations: 179.1 kB / 0.7933 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.006842, allocations: 18.33 kB / 0.7933 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.007039, allocations: 124.3 kB / 0.7935 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.007138, allocations: 65.08 kB / 0.7935 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.007159, allocations: 8 kB / 0.7935 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.157e-05/0.007241, allocations: 35.84 kB / 0.7936 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.007291, allocations: 40.47 kB / 0.7936 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.007333, allocations: 47.86 kB / 0.7937 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.007502, allocations: 132.5 kB / 0.7938 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007505, allocations: 0 / 0.7938 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.214e-06/0.007507, allocations: 4.75 kB / 0.7938 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.007511, allocations: 0 / 0.7938 GB, free: 5.809 MB / 0.7448 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.0005169/0.008028, allocations: 0.5208 MB / 0.7943 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.008067, allocations: 12.03 kB / 0.7943 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.008267, allocations: 49.39 kB / 0.7944 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.008442, allocations: 193 kB / 0.7945 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.00845, allocations: 4.375 kB / 0.7945 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.008462, allocations: 8.359 kB / 0.7945 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.008619, allocations: 91.78 kB / 0.7946 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.008625, allocations: 9.031 kB / 0.7946 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.008637, allocations: 8.125 kB / 0.7947 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.008666, allocations: 10.22 kB / 0.7947 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.00872, allocations: 31.81 kB / 0.7947 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.009081, allocations: 344.2 kB / 0.795 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.009195, allocations: 91.89 kB / 0.7951 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.009241, allocations: 35.67 kB / 0.7951 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.009259, allocations: 3.938 kB / 0.7951 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.009281, allocations: 41.33 kB / 0.7952 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.776e-06/0.009284, allocations: 3.984 kB / 0.7952 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002078/0.009491, allocations: 117.8 kB / 0.7953 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.009518, allocations: 56.91 kB / 0.7954 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.009658, allocations: 272.2 kB / 0.7956 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.009673, allocations: 25.7 kB / 0.7956 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.009739, allocations: 170.8 kB / 0.7958 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.009778, allocations: 60.02 kB / 0.7959 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.00982, allocations: 35.3 kB / 0.7959 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.009935, allocations: 0.5084 MB / 0.7964 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.009969, allocations: 13.36 kB / 0.7964 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.009999, allocations: 19.92 kB / 0.7964 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.01008, allocations: 49.78 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01008, allocations: 0.5 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001282/0.01021, allocations: 102.6 kB / 0.7966 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01022, allocations: 9.562 kB / 0.7966 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01023, allocations: 0.6562 kB / 0.7966 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.01024, allocations: 0 / 0.7966 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01035, allocations: 32.81 kB / 0.7966 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.01036, allocations: 4 kB / 0.7966 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.01041, allocations: 12.94 kB / 0.7966 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.01042, allocations: 8 kB / 0.7966 GB, free: 2.715 MB / 0.7448 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 7.299e-05/0.01049, allocations: 153.6 kB / 0.7968 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.01053, allocations: 31.8 kB / 0.7968 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01056, allocations: 26.89 kB / 0.7968 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01057, allocations: 4 kB / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01057, allocations: 0 / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01057, allocations: 1.062 kB / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.01072, allocations: 153.1 kB / 0.797 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01073, allocations: 0 / 0.797 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.01081, allocations: 33.03 kB / 0.797 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01081, allocations: 0 / 0.797 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01082, allocations: 13.56 kB / 0.797 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01082, allocations: 0 / 0.797 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01083, allocations: 0 / 0.797 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01101, allocations: 263 kB / 0.7973 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.01106, allocations: 32.62 kB / 0.7973 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01108, allocations: 7.938 kB / 0.7973 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.01115, allocations: 12.55 kB / 0.7973 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.01118, allocations: 9.078 kB / 0.7973 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.01119, allocations: 7.984 kB / 0.7973 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.586e-05/0.01127, allocations: 185.1 kB / 0.7975 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01127, allocations: 4 kB / 0.7975 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000175/0.01144, allocations: 39.94 kB / 0.7976 GB, free: 1.719 MB / 0.7448 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.0001353/0.01158, allocations: 115.1 kB / 0.7977 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.0117, allocations: 55.64 kB / 0.7977 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0117, allocations: 0 / 0.7977 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.01175, allocations: 43.61 kB / 0.7978 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.01202, allocations: 28.47 kB / 0.7978 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.01278, allocations: 379.4 kB / 0.7982 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.01283, allocations: 75.83 kB / 0.7982 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.988e-05/0.0129, allocations: 21.12 kB / 0.7983 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.013, allocations: 94.17 kB / 0.7983 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of SimCode: time 1.553e-06/0.01301, allocations: 0 / 0.7983 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of Templates: time 0.004102/0.01711, allocations: 1.926 MB / 0.8002 GB, free: 14.96 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.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.801137981936336]