Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009966/0.0009966, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001189/0.001189, allocations: 169 kB / 23.02 MB, free: 1.539 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.9804/0.9804, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.996/1.996, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.531e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.0031/0.003116, allocations: 2.998 MB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.004677, allocations: 1.112 MB / 0.8822 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.004807, allocations: 12.88 kB / 0.8822 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.005237, allocations: 119.2 kB / 0.8823 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.005569, allocations: 201 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.005855, allocations: 156.6 kB / 0.8826 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.006264, allocations: 495.1 kB / 0.8831 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.006651, allocations: 281.5 kB / 0.8834 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.006874, allocations: 285.8 kB / 0.8836 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.007167, allocations: 203.4 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.007203, allocations: 28 kB / 0.8839 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.00736, allocations: 95.73 kB / 0.8839 GB, free: 412 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.007466, allocations: 135.6 kB / 0.8841 GB, free: 276 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.007562, allocations: 127.7 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.007891, allocations: 329.1 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007893, allocations: 0 / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007893, allocations: 0 / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.007898, allocations: 0 / 0.8845 GB, free: 15.82 MB / 0.8542 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.0006459/0.008544, allocations: 0.6425 MB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.008577, allocations: 12.03 kB / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005485/0.009125, allocations: 198 kB / 0.8853 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.009374, allocations: 237.6 kB / 0.8856 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.009394, allocations: 25.02 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.009428, allocations: 28.38 kB / 0.8856 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.00988, allocations: 472.8 kB / 0.8861 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.00989, allocations: 192 / 0.8861 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.009914, allocations: 16.36 kB / 0.8861 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.009952, allocations: 36.58 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.01013, allocations: 139.7 kB / 0.8863 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.0113, allocations: 1.919 MB / 0.8881 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01151, allocations: 111.2 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.01164, allocations: 67.64 kB / 0.8883 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.01164, allocations: 0 / 0.8883 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.01167, allocations: 49.27 kB / 0.8883 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.01167, allocations: 0 / 0.8883 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0003322/0.012, allocations: 156.4 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.01203, allocations: 55.41 kB / 0.8885 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.01218, allocations: 278.6 kB / 0.8888 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.01219, allocations: 25.7 kB / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.01229, allocations: 266.8 kB / 0.8891 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.01232, allocations: 47.62 kB / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.01237, allocations: 59.55 kB / 0.8892 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.01247, allocations: 0.5001 MB / 0.8897 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.01251, allocations: 24.44 kB / 0.8897 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.01261, allocations: 155 kB / 0.8899 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.01275, allocations: 195.7 kB / 0.89 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01275, allocations: 8 kB / 0.89 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002242/0.01298, allocations: 216.2 kB / 0.8903 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01299, allocations: 8 kB / 0.8903 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.013, allocations: 4 kB / 0.8903 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.01317, allocations: 35.66 kB / 0.8903 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01327, allocations: 43.92 kB / 0.8903 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00073/0.014, allocations: 1.748 MB / 0.892 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.01408, allocations: 19.89 kB / 0.8921 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01409, allocations: 8 kB / 0.8921 GB, free: 7.523 MB / 0.8542 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.585e-05/0.01418, allocations: 176.4 kB / 0.8922 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.01421, allocations: 31.86 kB / 0.8923 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.01423, allocations: 21.59 kB / 0.8923 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01423, allocations: 7.938 kB / 0.8923 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01423, allocations: 3.938 kB / 0.8923 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01424, allocations: 7.984 kB / 0.8923 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.01478, allocations: 0.5613 MB / 0.8929 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01479, allocations: 0 / 0.8929 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.01483, allocations: 24 kB / 0.8929 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/0.01492, allocations: 35.84 kB / 0.8929 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01493, allocations: 7.938 kB / 0.8929 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000616/0.01555, allocations: 1.744 MB / 0.8946 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01555, allocations: 4.125 kB / 0.8946 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.01575, allocations: 333.7 kB / 0.8949 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.01579, allocations: 35.78 kB / 0.895 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.0158, allocations: 11.98 kB / 0.895 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.01587, allocations: 8 kB / 0.895 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.0159, allocations: 11.98 kB / 0.895 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.0159, allocations: 4 kB / 0.895 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.01598, allocations: 189.8 kB / 0.8952 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01598, allocations: 4 kB / 0.8952 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002423/0.01623, allocations: 83.78 kB / 0.8953 GB, free: 3.977 MB / 0.8542 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 7.539e-05/0.0163, allocations: 103.2 kB / 0.8954 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.01658, allocations: 281.8 kB / 0.8956 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01659, allocations: 4 kB / 0.8957 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.0167, allocations: 229.5 kB / 0.8959 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01697, allocations: 54.69 kB / 0.8959 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.01774, allocations: 0.5402 MB / 0.8965 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.038e-05/0.0178, allocations: 104.3 kB / 0.8965 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.636e-05/0.01788, allocations: 29.94 kB / 0.8966 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01791, allocations: 24.48 kB / 0.8966 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.01791, allocations: 0 / 0.8966 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004167/0.02208, allocations: 2.596 MB / 0.8991 GB, free: 15.96 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.213876363821328]