Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0009388/0.0009388, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001618/0.001618, allocations: 169 kB / 24.28 MB, free: 272 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.9746/0.9746, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8115 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.552e-05, allocations: 3.312 kB / 0.8115 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01589/0.01592, allocations: 20.56 MB / 0.8316 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008764/0.02468, allocations: 6.609 MB / 0.8381 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.02617, allocations: 115.1 kB / 0.8382 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.02935, allocations: 2.306 MB / 0.8404 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.03218, allocations: 1.279 MB / 0.8417 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.03474, allocations: 1.299 MB / 0.843 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004706/0.03944, allocations: 4.947 MB / 0.8478 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004379/0.04382, allocations: 3.178 MB / 0.8509 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.04844, allocations: 3.035 MB / 0.8539 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.05189, allocations: 2.346 MB / 0.8562 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.05293, allocations: 432 kB / 0.8566 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.05482, allocations: 0.9475 MB / 0.8575 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.05646, allocations: 1.816 MB / 0.8593 GB, free: 1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.05869, allocations: 1.353 MB / 0.8606 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003812/0.0625, allocations: 3.642 MB / 0.8641 GB, free: 11.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.06251, allocations: 0 / 0.8641 GB, free: 11.99 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.112e-06/0.06251, allocations: 0 / 0.8641 GB, free: 11.99 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001389/0.06265, allocations: 0 / 0.8641 GB, free: 11.99 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004709/0.06736, allocations: 3.673 MB / 0.8677 GB, free: 8.262 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.0674, allocations: 8.031 kB / 0.8677 GB, free: 8.254 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.06997, allocations: 1.029 MB / 0.8687 GB, free: 7.223 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.0723, allocations: 1.96 MB / 0.8707 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.07242, allocations: 222.3 kB / 0.8709 GB, free: 4.988 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.07272, allocations: 296.4 kB / 0.8711 GB, free: 4.699 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.0765, allocations: 3.14 MB / 0.8742 GB, free: 1.219 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.07657, allocations: 12.08 kB / 0.8742 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.07678, allocations: 131.9 kB / 0.8744 GB, free: 1.078 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002678/0.07705, allocations: 233.7 kB / 0.8746 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.07925, allocations: 1.131 MB / 0.8757 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.09042, allocations: 14.42 MB / 0.8898 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.09121, allocations: 0.5933 MB / 0.8903 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.09181, allocations: 442.5 kB / 0.8908 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.09187, allocations: 17 kB / 0.8908 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.0919, allocations: 50.39 kB / 0.8908 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.0919, allocations: 0 / 0.8908 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.008303/0.1002, allocations: 4.447 MB / 0.8952 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1002, allocations: 68.72 kB / 0.8952 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.1011, allocations: 0.9851 MB / 0.8962 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.1012, allocations: 53.7 kB / 0.8962 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006102/0.1018, allocations: 1.388 MB / 0.8976 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.1021, allocations: 0.5114 MB / 0.8981 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.1024, allocations: 301.1 kB / 0.8984 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.1025, allocations: 476.8 kB / 0.8988 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.1029, allocations: 307.8 kB / 0.8991 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007295/0.1037, allocations: 0.8923 MB / 0.9 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.105, allocations: 1.301 MB / 0.9013 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.105, allocations: 4 kB / 0.9013 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002814/0.1078, allocations: 1.946 MB / 0.9032 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1078, allocations: 11.94 kB / 0.9032 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1078, allocations: 16 kB / 0.9032 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.1099, allocations: 0.873 MB / 0.9041 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/0.1105, allocations: 267.5 kB / 0.9043 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008031/0.1185, allocations: 9.073 MB / 0.9132 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/0.1193, allocations: 95.84 kB / 0.9133 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/0.1194, allocations: 60 kB / 0.9133 GB, free: 7.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007309/0.1202, allocations: 256.2 kB / 0.9136 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.1204, allocations: 199.1 kB / 0.9138 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.1229, allocations: 1.658 MB / 0.9154 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1229, allocations: 12 kB / 0.9154 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.1229, allocations: 16 kB / 0.9154 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1229, allocations: 4.172 kB / 0.9154 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.1282, allocations: 3.986 MB / 0.9193 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.1282, allocations: 7.938 kB / 0.9193 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.1286, allocations: 143.8 kB / 0.9194 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.1304, allocations: 0.8177 MB / 0.9202 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/0.1305, allocations: 32 kB / 0.9203 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/0.1384, allocations: 9.042 MB / 0.9291 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.1384, allocations: 11.88 kB / 0.9291 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.141, allocations: 1.875 MB / 0.931 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.1414, allocations: 318.9 kB / 0.9313 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.1416, allocations: 32 kB / 0.9313 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.142, allocations: 83.89 kB / 0.9314 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.1422, allocations: 132.6 kB / 0.9315 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.1423, allocations: 40 kB / 0.9315 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005482/0.1428, allocations: 0.5809 MB / 0.9321 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1428, allocations: 0 / 0.9321 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001472/0.1443, allocations: 0.668 MB / 0.9327 GB, free: 3.27 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.1445, allocations: 139.1 kB / 0.9329 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.147, allocations: 2.108 MB / 0.9349 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.147, allocations: 0 / 0.9349 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.1486, allocations: 1.568 MB / 0.9365 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.1498, allocations: 484.9 kB / 0.9369 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.1562, allocations: 4.791 MB / 0.9416 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.157, allocations: 0.8116 MB / 0.9424 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007249/0.1577, allocations: 289.2 kB / 0.9427 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.1579, allocations: 84.48 kB / 0.9428 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of SimCode: time 1.513e-06/0.1579, allocations: 0 / 0.9428 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of Templates: time 0.03895/0.1968, allocations: 33.48 MB / 0.9755 GB, free: 7.918 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.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.616894782055169]