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.001375/0.001375, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001722/0.001722, allocations: 170 kB / 23.28 MB, free: 1.223 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.9493/0.9493, allocations: 177.1 MB / 203.7 MB, free: 5.52 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 2.307/2.307, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 9.12e-07/9.12e-07, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.202e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.002934/0.002946, allocations: 2.958 MB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004349, allocations: 1.114 MB / 0.8937 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.004457, allocations: 11.94 kB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.004794, allocations: 115.3 kB / 0.8938 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.005066, allocations: 198.7 kB / 0.894 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.005299, allocations: 155.6 kB / 0.8941 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.00565, allocations: 0.4942 MB / 0.8946 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.005981, allocations: 297.4 kB / 0.8949 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.006196, allocations: 271.4 kB / 0.8952 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.006447, allocations: 195.5 kB / 0.8954 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.006481, allocations: 28 kB / 0.8954 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.006613, allocations: 103.7 kB / 0.8955 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.006706, allocations: 143.6 kB / 0.8956 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.006793, allocations: 119.8 kB / 0.8957 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.007099, allocations: 326.9 kB / 0.896 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.007101, allocations: 0 / 0.896 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.91e-07/0.007102, allocations: 4 kB / 0.8961 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.007106, allocations: 0 / 0.8961 GB, free: 3.23 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.0005747/0.00768, allocations: 0.6476 MB / 0.8967 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.007713, allocations: 8.625 kB / 0.8967 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.0082, allocations: 180.4 kB / 0.8969 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.008417, allocations: 232 kB / 0.8971 GB, free: 2.109 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.008432, allocations: 24.97 kB / 0.8971 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.008459, allocations: 32.38 kB / 0.8971 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.008761, allocations: 440.9 kB / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.00877, allocations: 4.172 kB / 0.8976 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.008792, allocations: 16.36 kB / 0.8976 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.008827, allocations: 36.58 kB / 0.8976 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.008947, allocations: 104.4 kB / 0.8977 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.009997, allocations: 1.857 MB / 0.8995 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.01014, allocations: 107.1 kB / 0.8996 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.01024, allocations: 75.58 kB / 0.8997 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.01025, allocations: 4.25 kB / 0.8997 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.01027, allocations: 33.39 kB / 0.8997 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.01027, allocations: 0 / 0.8997 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0002654/0.01054, allocations: 153.1 kB / 0.8999 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.01056, allocations: 59.34 kB / 0.8999 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01069, allocations: 270.5 kB / 0.9002 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.01071, allocations: 29.69 kB / 0.9002 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01081, allocations: 258.9 kB / 0.9005 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.01083, allocations: 55.58 kB / 0.9005 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.01089, allocations: 55.58 kB / 0.9006 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.011, allocations: 0.5039 MB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.01103, allocations: 20.45 kB / 0.9011 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.01111, allocations: 142.2 kB / 0.9012 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.01123, allocations: 194.5 kB / 0.9014 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01124, allocations: 0 / 0.9014 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001919/0.01143, allocations: 201 kB / 0.9016 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.01144, allocations: 8 kB / 0.9016 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01144, allocations: 4 kB / 0.9016 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.01157, allocations: 35.66 kB / 0.9017 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.01166, allocations: 48.11 kB / 0.9017 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006649/0.01232, allocations: 1.721 MB / 0.9034 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.0124, allocations: 27.78 kB / 0.9034 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01241, allocations: 12 kB / 0.9034 GB, free: 11.13 MB / 0.8698 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.158e-05/0.01249, allocations: 168.5 kB / 0.9036 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.01252, allocations: 28.03 kB / 0.9036 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.01254, allocations: 29.45 kB / 0.9036 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.01254, allocations: 0 / 0.9036 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01254, allocations: 0 / 0.9036 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01255, allocations: 3.938 kB / 0.9036 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.01299, allocations: 0.5611 MB / 0.9042 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01299, allocations: 4 kB / 0.9042 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.01303, allocations: 20.17 kB / 0.9042 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.69e-05/0.01312, allocations: 47.59 kB / 0.9043 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.01312, allocations: 0 / 0.9043 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005968/0.01372, allocations: 1.726 MB / 0.9059 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01372, allocations: 0 / 0.9059 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.0139, allocations: 333.4 kB / 0.9063 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.01394, allocations: 31.83 kB / 0.9063 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.01395, allocations: 8 kB / 0.9063 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.01402, allocations: 11.94 kB / 0.9063 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.01404, allocations: 19.97 kB / 0.9063 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.01405, allocations: 4 kB / 0.9063 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.01412, allocations: 181.8 kB / 0.9065 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.01412, allocations: 0 / 0.9065 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002241/0.01434, allocations: 83.72 kB / 0.9066 GB, free: 7.645 MB / 0.8698 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 6.651e-05/0.01441, allocations: 107.2 kB / 0.9067 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.01464, allocations: 275.1 kB / 0.9069 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01464, allocations: 4.062 kB / 0.9069 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.01474, allocations: 219.8 kB / 0.9072 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.01499, allocations: 50.73 kB / 0.9072 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.01565, allocations: 0.5327 MB / 0.9077 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.01571, allocations: 108.3 kB / 0.9078 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.0158, allocations: 29.92 kB / 0.9079 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.01593, allocations: 114.2 kB / 0.908 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.01593, allocations: 0 / 0.908 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of Templates: time 0.004105/0.02003, allocations: 2.641 MB / 0.9105 GB, free: 3.516 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.203286677133292]