Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.00185/0.00185, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002239/0.002239, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9512/0.9512, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.726/1.726, allocations: 359 MB / 0.6052 GB, free: 11 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.853e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002966/0.002995, allocations: 2.064 MB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003653/0.006648, allocations: 3.824 MB / 0.7929 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.006781, allocations: 5.469 kB / 0.7929 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.007083, allocations: 55.58 kB / 0.7929 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.007401, allocations: 108.7 kB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.007798, allocations: 169.6 kB / 0.7932 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.008109, allocations: 274.9 kB / 0.7934 GB, free: 6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.008227, allocations: 28.58 kB / 0.7935 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.008473, allocations: 156.9 kB / 0.7936 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.008576, allocations: 92.2 kB / 0.7937 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.008602, allocations: 13.59 kB / 0.7937 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.008785, allocations: 111.8 kB / 0.7938 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.008836, allocations: 39.84 kB / 0.7939 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.008902, allocations: 67.75 kB / 0.7939 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.009192, allocations: 259.6 kB / 0.7942 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.009196, allocations: 0 / 0.7942 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.009198, allocations: 0.875 kB / 0.7942 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.009204, allocations: 0 / 0.7942 GB, free: 5.25 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006766/0.009881, allocations: 0.5905 MB / 0.7948 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.009919, allocations: 13.16 kB / 0.7948 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.01018, allocations: 73.52 kB / 0.7948 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.01041, allocations: 205.2 kB / 0.795 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.01043, allocations: 9.219 kB / 0.795 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.01044, allocations: 8.312 kB / 0.795 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.0107, allocations: 136.8 kB / 0.7952 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.01071, allocations: 192 / 0.7952 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01073, allocations: 8.125 kB / 0.7952 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.01073, allocations: 4.594 kB / 0.7952 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.01084, allocations: 35.97 kB / 0.7952 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.01166, allocations: 441.8 kB / 0.7956 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.01177, allocations: 55.03 kB / 0.7957 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.01183, allocations: 33.44 kB / 0.7957 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.01215, allocations: 84.42 kB / 0.7958 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.01217, allocations: 33.95 kB / 0.7958 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.01217, allocations: 0.6875 kB / 0.7958 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003107/0.01248, allocations: 134.4 kB / 0.796 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.01252, allocations: 55.41 kB / 0.796 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.01269, allocations: 299.4 kB / 0.7963 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.01271, allocations: 29.7 kB / 0.7963 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.01279, allocations: 194.7 kB / 0.7965 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.01282, allocations: 36.34 kB / 0.7966 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.01287, allocations: 32.23 kB / 0.7966 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01299, allocations: 0.5117 MB / 0.7971 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.01305, allocations: 23.7 kB / 0.7971 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.0131, allocations: 15.98 kB / 0.7971 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.01321, allocations: 55.61 kB / 0.7972 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01321, allocations: 4 kB / 0.7972 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001753/0.01339, allocations: 118.1 kB / 0.7973 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.0134, allocations: 4 kB / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01341, allocations: 0 / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.01342, allocations: 4 kB / 0.7973 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01357, allocations: 29.19 kB / 0.7973 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01358, allocations: 4 kB / 0.7973 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.01365, allocations: 19.92 kB / 0.7974 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01366, allocations: 9.031 kB / 0.7974 GB, free: 1.797 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 (11): * Single equations (assignments): 11 * 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 8.315e-05/0.01374, allocations: 164.5 kB / 0.7975 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.01378, allocations: 28.98 kB / 0.7975 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.01401, allocations: 140.4 kB / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01402, allocations: 0 / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01402, allocations: 0 / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01402, allocations: 1.188 kB / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.0142, allocations: 208.4 kB / 0.7979 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.0142, allocations: 3.984 kB / 0.7979 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01431, allocations: 41.62 kB / 0.7979 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01432, allocations: 0 / 0.7979 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01433, allocations: 3.984 kB / 0.7979 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01433, allocations: 4 kB / 0.7979 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01434, allocations: 4 kB / 0.7979 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.01458, allocations: 263.6 kB / 0.7982 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.01463, allocations: 35.83 kB / 0.7982 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01466, allocations: 8 kB / 0.7982 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.01474, allocations: 11.98 kB / 0.7982 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.01481, allocations: 15.97 kB / 0.7983 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01482, allocations: 8 kB / 0.7983 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001039/0.01492, allocations: 207 kB / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01492, allocations: 0 / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002336/0.01516, allocations: 67.81 kB / 0.7985 GB, free: 0.5391 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 (11): * Single equations (assignments): 11 * 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.0002168/0.01537, allocations: 139 kB / 0.7987 GB, free: 404 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01557, allocations: 71.58 kB / 0.7987 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01557, allocations: 0 / 0.7987 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.01564, allocations: 47.59 kB / 0.7988 GB, free: 276 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01594, allocations: 50.7 kB / 0.7988 GB, free: 220 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.01679, allocations: 403.5 kB / 0.7992 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.01685, allocations: 79.31 kB / 0.7993 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.01696, allocations: 32.61 kB / 0.7993 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.01702, allocations: 24.48 kB / 0.7993 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/0.01702, allocations: 0 / 0.7993 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of Templates: time 0.005757/0.02277, allocations: 3.143 MB / 0.8024 GB, free: 12.54 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.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.993782002944499]