Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009842/0.0009842, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.0009383/0.0009383, allocations: 169 kB / 24.28 MB, free: 264 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.9975/0.9975, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.784/1.784, allocations: 359 MB / 0.6055 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.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.305e-05, allocations: 8.984 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003875/0.003898, allocations: 3.945 MB / 0.7909 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.005824, allocations: 1.766 MB / 0.7927 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.005962, allocations: 11.94 kB / 0.7927 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.007011, allocations: 0.4919 MB / 0.7932 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.007384, allocations: 242.2 kB / 0.7934 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.007724, allocations: 207.3 kB / 0.7936 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.008099, allocations: 490.1 kB / 0.794 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.008498, allocations: 290.1 kB / 0.7943 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.008716, allocations: 279.3 kB / 0.7946 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.009013, allocations: 197.6 kB / 0.7948 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.009048, allocations: 31.94 kB / 0.7948 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.009305, allocations: 227.4 kB / 0.795 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.009408, allocations: 135.6 kB / 0.7952 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.00951, allocations: 120.3 kB / 0.7953 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.0099, allocations: 402.6 kB / 0.7957 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.009904, allocations: 0.9375 kB / 0.7957 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.372e-06/0.009906, allocations: 0 / 0.7957 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.009911, allocations: 0 / 0.7957 GB, free: 4.031 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007041/0.01062, allocations: 0.6697 MB / 0.7963 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01065, allocations: 8.031 kB / 0.7963 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.01129, allocations: 198.1 kB / 0.7965 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.01156, allocations: 241.7 kB / 0.7967 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.01158, allocations: 21.03 kB / 0.7968 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.01161, allocations: 33.64 kB / 0.7968 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.012, allocations: 452.9 kB / 0.7972 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01201, allocations: 4.125 kB / 0.7972 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.01204, allocations: 21.2 kB / 0.7972 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.01208, allocations: 32.58 kB / 0.7973 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.01229, allocations: 140.8 kB / 0.7974 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.01354, allocations: 1.917 MB / 0.7993 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.01376, allocations: 111.2 kB / 0.7994 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.0139, allocations: 71.58 kB / 0.7995 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.01391, allocations: 4 kB / 0.7995 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01393, allocations: 45.33 kB / 0.7995 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.01393, allocations: 0.5 kB / 0.7995 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14): time 0.0003555/0.01429, allocations: 159.3 kB / 0.7997 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.01432, allocations: 59.34 kB / 0.7997 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.01474, allocations: 274.6 kB / 0.8 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.01475, allocations: 30.36 kB / 0.8 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.01485, allocations: 266.9 kB / 0.8003 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.01488, allocations: 48.25 kB / 0.8003 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.01493, allocations: 59.55 kB / 0.8004 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01504, allocations: 0.4989 MB / 0.8008 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.01508, allocations: 24.45 kB / 0.8009 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-05/0.01518, allocations: 161.5 kB / 0.801 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.01533, allocations: 197.9 kB / 0.8012 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01533, allocations: 0 / 0.8012 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002411/0.01557, allocations: 212.2 kB / 0.8014 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01559, allocations: 8 kB / 0.8014 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.0156, allocations: 4 kB / 0.8014 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.01578, allocations: 33.38 kB / 0.8015 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.01589, allocations: 57.25 kB / 0.8015 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007758/0.01666, allocations: 1.741 MB / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01679, allocations: 31.97 kB / 0.8032 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.01681, allocations: 12 kB / 0.8033 GB, free: 11.71 MB / 0.7605 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 9.573e-05/0.0169, allocations: 172.5 kB / 0.8034 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.01693, allocations: 23.86 kB / 0.8034 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.01696, allocations: 29.45 kB / 0.8035 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01697, allocations: 3.938 kB / 0.8035 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01697, allocations: 0 / 0.8035 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01697, allocations: 0 / 0.8035 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.0175, allocations: 0.5691 MB / 0.804 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0175, allocations: 0 / 0.804 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.01755, allocations: 23.98 kB / 0.8041 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.01765, allocations: 31.66 kB / 0.8041 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01766, allocations: 12.19 kB / 0.8041 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006684/0.01833, allocations: 1.728 MB / 0.8058 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01833, allocations: 4 kB / 0.8058 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.01853, allocations: 337.5 kB / 0.8061 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.01858, allocations: 47.66 kB / 0.8062 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.0186, allocations: 12.06 kB / 0.8062 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.01868, allocations: 11.98 kB / 0.8062 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.01871, allocations: 15.97 kB / 0.8062 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.01871, allocations: 8 kB / 0.8062 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.929e-05/0.0188, allocations: 189.5 kB / 0.8064 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.0188, allocations: 0 / 0.8064 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002599/0.01906, allocations: 75.84 kB / 0.8065 GB, free: 8.176 MB / 0.7605 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 0.0001041/0.01917, allocations: 115.1 kB / 0.8066 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.01972, allocations: 281.3 kB / 0.8068 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01972, allocations: 0 / 0.8068 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.01983, allocations: 218.6 kB / 0.807 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.02014, allocations: 64.98 kB / 0.8071 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.02098, allocations: 0.5345 MB / 0.8076 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.02105, allocations: 104.3 kB / 0.8077 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.234e-05/0.02114, allocations: 37.92 kB / 0.8078 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.02118, allocations: 20.5 kB / 0.8078 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.02118, allocations: 0 / 0.8078 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of Templates: time 0.004478/0.02566, allocations: 2.46 MB / 0.8102 GB, free: 4.301 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.022050094092265]