Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001002/0.001002, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001253/0.001253, allocations: 161 kB / 24.16 MB, free: 332 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 1.083/1.083, allocations: 177.2 MB / 204.6 MB, free: 5.289 MB / 186.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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 3.938 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.23e-05, allocations: 2.312 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004303/0.004326, allocations: 2.961 MB / 0.7629 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.0061, allocations: 1.142 MB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.006261, allocations: 13.53 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.00679, allocations: 123.3 kB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.007164, allocations: 200.7 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.007522, allocations: 153 kB / 0.7645 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.00801, allocations: 490.2 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.00836, allocations: 304 kB / 0.7652 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.008618, allocations: 272.6 kB / 0.7655 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.008933, allocations: 183.5 kB / 0.7657 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.008971, allocations: 29.25 kB / 0.7657 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.00914, allocations: 95.78 kB / 0.7658 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.009244, allocations: 139.6 kB / 0.7659 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.009353, allocations: 128.6 kB / 0.766 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.009716, allocations: 322.9 kB / 0.7663 GB, free: 196 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.00972, allocations: 4 kB / 0.7663 GB, free: 192 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.009721, allocations: 0.5312 kB / 0.7663 GB, free: 192 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.009728, allocations: 1.094 kB / 0.7663 GB, free: 192 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0006271/0.01036, allocations: 0.5162 MB / 0.7668 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01039, allocations: 9.25 kB / 0.7669 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.01097, allocations: 174.1 kB / 0.767 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.01123, allocations: 218.6 kB / 0.7672 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.01125, allocations: 25.77 kB / 0.7673 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.01128, allocations: 28.38 kB / 0.7673 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.01164, allocations: 429.2 kB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01165, allocations: 192 / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01167, allocations: 12.38 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.01171, allocations: 32.58 kB / 0.7677 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.01184, allocations: 102.4 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.01306, allocations: 1.328 MB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.01323, allocations: 93.36 kB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.01333, allocations: 59.86 kB / 0.7693 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.01334, allocations: 4 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.01337, allocations: 34.56 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.865e-06/0.01337, allocations: 0 / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.000288/0.01366, allocations: 123.6 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.01368, allocations: 56.81 kB / 0.7695 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.01382, allocations: 215.3 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.01383, allocations: 33.7 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.01391, allocations: 204.1 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.01394, allocations: 52.86 kB / 0.77 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.01399, allocations: 45.92 kB / 0.77 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.01407, allocations: 326.8 kB / 0.7703 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.0141, allocations: 21.11 kB / 0.7703 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.01417, allocations: 117.2 kB / 0.7705 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.01429, allocations: 148.8 kB / 0.7706 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01429, allocations: 3.938 kB / 0.7706 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001841/0.01447, allocations: 159.5 kB / 0.7708 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01449, allocations: 8 kB / 0.7708 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.0145, allocations: 11.94 kB / 0.7708 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.01466, allocations: 39.23 kB / 0.7708 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01476, allocations: 51.91 kB / 0.7709 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006465/0.01541, allocations: 1.186 MB / 0.772 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.0155, allocations: 29.12 kB / 0.772 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.01551, allocations: 15.94 kB / 0.7721 GB, free: 9.926 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/0.0156, allocations: 122.2 kB / 0.7722 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.01562, allocations: 19.98 kB / 0.7722 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.01565, allocations: 25.45 kB / 0.7722 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.01565, allocations: 0 / 0.7722 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01565, allocations: 6.438 kB / 0.7722 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01566, allocations: 0 / 0.7722 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.01614, allocations: 0.5723 MB / 0.7728 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01614, allocations: 6.062 kB / 0.7728 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.0162, allocations: 27.94 kB / 0.7728 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.0163, allocations: 30.45 kB / 0.7728 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.01631, allocations: 0 / 0.7728 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005498/0.01686, allocations: 1.204 MB / 0.774 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01686, allocations: 0 / 0.774 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.01703, allocations: 284.6 kB / 0.7743 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.01708, allocations: 39.2 kB / 0.7743 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01709, allocations: 4 kB / 0.7743 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.01717, allocations: 11.98 kB / 0.7743 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.0172, allocations: 23.86 kB / 0.7744 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.0172, allocations: 4 kB / 0.7744 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.01726, allocations: 67.17 kB / 0.7744 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-08/0.01726, allocations: 0 / 0.7744 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002425/0.0175, allocations: 79.78 kB / 0.7745 GB, free: 7.215 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.873e-05/0.0176, allocations: 85.81 kB / 0.7746 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.01784, allocations: 206.8 kB / 0.7748 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01785, allocations: 4 kB / 0.7748 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.01794, allocations: 161.3 kB / 0.775 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.0182, allocations: 51.5 kB / 0.775 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.019, allocations: 0.5601 MB / 0.7755 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.01925, allocations: 112.2 kB / 0.7757 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.825e-05/0.01932, allocations: 22.19 kB / 0.7757 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.01944, allocations: 95.28 kB / 0.7758 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.01944, allocations: 0 / 0.7758 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.004829/0.02427, allocations: 2.631 MB / 0.7783 GB, free: 3.359 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.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.026273418217897]