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.001147/0.001147, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00131/0.00131, allocations: 181 kB / 23.36 MB, free: 1.133 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.386/2.386, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.653e-06/1.653e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.773e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00494/0.004967, allocations: 3 MB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.006949, allocations: 1.141 MB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.007122, allocations: 19.88 kB / 0.8427 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.007616, allocations: 111.3 kB / 0.8428 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.007984, allocations: 194.8 kB / 0.843 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.008296, allocations: 163.5 kB / 0.8431 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.008767, allocations: 0.4902 MB / 0.8436 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.009113, allocations: 288.4 kB / 0.8439 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.00938, allocations: 267.4 kB / 0.8441 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.009721, allocations: 199.4 kB / 0.8443 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.00976, allocations: 31.94 kB / 0.8443 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.009964, allocations: 95.84 kB / 0.8444 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.01007, allocations: 139.6 kB / 0.8446 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.01017, allocations: 119.8 kB / 0.8447 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.01054, allocations: 326.8 kB / 0.845 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.01054, allocations: 8 kB / 0.845 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01054, allocations: 0 / 0.845 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.01055, allocations: 0 / 0.845 GB, free: 7.66 MB / 0.8073 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.0005911/0.01114, allocations: 0.5189 MB / 0.8455 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.01117, allocations: 8.625 kB / 0.8455 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006137/0.01179, allocations: 180.6 kB / 0.8457 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.01205, allocations: 221.2 kB / 0.8459 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.01207, allocations: 25.02 kB / 0.8459 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.0121, allocations: 32.38 kB / 0.8459 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.01244, allocations: 419.4 kB / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01245, allocations: 4.188 kB / 0.8464 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.01248, allocations: 20.36 kB / 0.8464 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.01252, allocations: 32.58 kB / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.01265, allocations: 104.3 kB / 0.8465 GB, free: 6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01367, allocations: 1.321 MB / 0.8478 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.01383, allocations: 89.36 kB / 0.8479 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.01392, allocations: 60.75 kB / 0.8479 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.01393, allocations: 4 kB / 0.8479 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.01396, allocations: 34.56 kB / 0.848 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.01396, allocations: 4 kB / 0.848 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0002812/0.01424, allocations: 130.2 kB / 0.8481 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.01427, allocations: 59.34 kB / 0.8482 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.01439, allocations: 207.3 kB / 0.8484 GB, free: 4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.0144, allocations: 33.7 kB / 0.8484 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.01448, allocations: 204.1 kB / 0.8486 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.01451, allocations: 55.58 kB / 0.8486 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.01457, allocations: 49.88 kB / 0.8487 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.01465, allocations: 338.8 kB / 0.849 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.01467, allocations: 20.45 kB / 0.849 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.01474, allocations: 100.1 kB / 0.8491 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01485, allocations: 149.8 kB / 0.8493 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01485, allocations: 0 / 0.8493 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001852/0.01504, allocations: 168.5 kB / 0.8494 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01505, allocations: 12.06 kB / 0.8494 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01506, allocations: 4 kB / 0.8494 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.01522, allocations: 28.83 kB / 0.8495 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.01534, allocations: 55.91 kB / 0.8495 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006311/0.01597, allocations: 1.191 MB / 0.8507 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.824e-05/0.01606, allocations: 23.78 kB / 0.8507 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.01607, allocations: 15.94 kB / 0.8507 GB, free: 1.363 MB / 0.8073 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.31e-05/0.01616, allocations: 120.6 kB / 0.8508 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.01619, allocations: 19.98 kB / 0.8509 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.01621, allocations: 25.45 kB / 0.8509 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.01622, allocations: 4.125 kB / 0.8509 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01622, allocations: 0 / 0.8509 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01622, allocations: 8 kB / 0.8509 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.01669, allocations: 0.58 MB / 0.8515 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.01669, allocations: 4 kB / 0.8515 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.01675, allocations: 20 kB / 0.8515 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.792e-05/0.01684, allocations: 36.95 kB / 0.8515 GB, free: 488 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.01685, allocations: 8 kB / 0.8515 GB, free: 480 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005489/0.0174, allocations: 1.191 MB / 0.8527 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01741, allocations: 8.109 kB / 0.8527 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01758, allocations: 288.6 kB / 0.853 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.01761, allocations: 27.84 kB / 0.853 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01763, allocations: 4 kB / 0.853 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.01771, allocations: 15.98 kB / 0.853 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.01773, allocations: 11.92 kB / 0.853 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01774, allocations: 4 kB / 0.853 GB, free: 14.79 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.01779, allocations: 67.41 kB / 0.8531 GB, free: 14.72 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.01779, allocations: 4 kB / 0.8531 GB, free: 14.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002388/0.01803, allocations: 87.73 kB / 0.8532 GB, free: 14.63 MB / 0.823 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 8.793e-05/0.01812, allocations: 80.36 kB / 0.8533 GB, free: 14.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01836, allocations: 216.6 kB / 0.8535 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.01836, allocations: 4 kB / 0.8535 GB, free: 14.31 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.01846, allocations: 165.4 kB / 0.8536 GB, free: 14.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01871, allocations: 56.81 kB / 0.8537 GB, free: 14.08 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.01947, allocations: 0.5359 MB / 0.8542 GB, free: 13.49 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.65e-05/0.01954, allocations: 116 kB / 0.8543 GB, free: 13.36 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.981e-05/0.01961, allocations: 17.95 kB / 0.8543 GB, free: 13.34 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01972, allocations: 99.28 kB / 0.8544 GB, free: 13.25 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/0.01972, allocations: 0 / 0.8544 GB, free: 13.25 MB / 0.823 GB Notification: Performance of Templates: time 0.004651/0.02437, allocations: 2.637 MB / 0.857 GB, free: 10.67 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.219312156084925]