Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.001063/0.001063, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001268/0.001268, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.011/1.011, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.765/1.765, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.702e-05, allocations: 6.906 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002678/0.002705, allocations: 1.275 MB / 0.7895 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.003675, allocations: 456.6 kB / 0.79 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.003715, allocations: 3.938 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.003739, allocations: 0 / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.532e-05/0.003784, allocations: 4.531 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.004419, allocations: 120.9 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.004496, allocations: 23.91 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.004539, allocations: 4 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.004583, allocations: 13.02 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.004617, allocations: 7.984 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.004632, allocations: 0 / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.004944, allocations: 144.5 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.004961, allocations: 3.984 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.004985, allocations: 8.906 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.005213, allocations: 123.6 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005216, allocations: 0 / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005217, allocations: 2.375 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005222, allocations: 0 / 0.7904 GB, free: 10.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004667/0.005688, allocations: 418 kB / 0.7908 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.005741, allocations: 8.031 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.005779, allocations: 4.938 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.005895, allocations: 120.5 kB / 0.7909 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.005921, allocations: 6.219 kB / 0.7909 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.005931, allocations: 4.375 kB / 0.7909 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.006032, allocations: 46.95 kB / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.006041, allocations: 192 / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.00605, allocations: 4.359 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006056, allocations: 1.094 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.006075, allocations: 7.938 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.006194, allocations: 101.8 kB / 0.7911 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.006274, allocations: 36.66 kB / 0.7911 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.006295, allocations: 11.69 kB / 0.7911 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.006304, allocations: 4.078 kB / 0.7911 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.006409, allocations: 57.61 kB / 0.7912 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.00641, allocations: 0.5 kB / 0.7912 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001847/0.006595, allocations: 70.48 kB / 0.7913 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.006636, allocations: 55.41 kB / 0.7913 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.006727, allocations: 159.1 kB / 0.7915 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.006742, allocations: 29.7 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.006796, allocations: 134.8 kB / 0.7916 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.00682, allocations: 9.328 kB / 0.7916 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.006861, allocations: 31.34 kB / 0.7917 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.006997, allocations: 496.1 kB / 0.7921 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.007013, allocations: 4 kB / 0.7921 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.007052, allocations: 52.72 kB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.007105, allocations: 42.69 kB / 0.7922 GB, free: 8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.007109, allocations: 9.156 kB / 0.7922 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001032/0.007212, allocations: 65.8 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.007229, allocations: 13.31 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.007237, allocations: 48 / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007249, allocations: 3.984 kB / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.007324, allocations: 9.5 kB / 0.7923 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.007332, allocations: 4 kB / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.007359, allocations: 15.77 kB / 0.7923 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.007366, allocations: 4 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.262e-05/0.007449, allocations: 163.4 kB / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.007462, allocations: 4 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.007484, allocations: 4 kB / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.007488, allocations: 4 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.00749, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.007493, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.261e-05/0.007585, allocations: 105.2 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007586, allocations: 0.5 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.007599, allocations: 3.938 kB / 0.7926 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.007602, allocations: 4.5 kB / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.007609, allocations: 5.938 kB / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00761, allocations: 0 / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007612, allocations: 0 / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.00775, allocations: 100.3 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.007758, allocations: 0 / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.00777, allocations: 2.594 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.007795, allocations: 4 kB / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.007819, allocations: 3.984 kB / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.007824, allocations: 0 / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.007879, allocations: 127.2 kB / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007879, allocations: 0 / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003142/0.008193, allocations: 39.86 kB / 0.7929 GB, free: 7.262 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004486/0.008642, allocations: 186.3 kB / 0.7931 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.008757, allocations: 31.7 kB / 0.7931 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008759, allocations: 4.781 kB / 0.7931 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.008795, allocations: 23.61 kB / 0.7931 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.008965, allocations: 8.625 kB / 0.7931 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.009211, allocations: 122.2 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.009248, allocations: 58.2 kB / 0.7933 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.009266, allocations: 0 / 0.7933 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.009306, allocations: 70.2 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.009307, allocations: 0 / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.004288/0.0136, allocations: 1.322 MB / 0.7947 GB, free: 5.418 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.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: 5.053734973073006]