Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001387/0.001387, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001007/0.001007, allocations: 169 kB / 24.06 MB, free: 456 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.9679/0.9679, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.117/2.117, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.793e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009191/0.009209, allocations: 11.59 MB / 0.8907 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004854/0.01406, allocations: 3.605 MB / 0.8942 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.01482, allocations: 111.2 kB / 0.8944 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009093/0.01573, allocations: 0.4926 MB / 0.8948 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.01721, allocations: 1.099 MB / 0.8959 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.01851, allocations: 1.018 MB / 0.8969 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003533/0.02204, allocations: 4.868 MB / 0.9017 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.02522, allocations: 3.119 MB / 0.9047 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005263/0.03048, allocations: 2.998 MB / 0.9076 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/0.03521, allocations: 2.377 MB / 0.91 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001762/0.03697, allocations: 428 kB / 0.9104 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.03966, allocations: 0.5114 MB / 0.9109 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003546/0.04321, allocations: 1.805 MB / 0.9126 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.04613, allocations: 1.353 MB / 0.9139 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.05003, allocations: 3.346 MB / 0.9172 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.05004, allocations: 0 / 0.9172 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.222e-06/0.05004, allocations: 4 kB / 0.9172 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000126/0.05017, allocations: 7.938 kB / 0.9172 GB, free: 15.11 MB / 0.8855 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.005008/0.05517, allocations: 3.564 MB / 0.9207 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.05522, allocations: 12.03 kB / 0.9207 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.05732, allocations: 0.8921 MB / 0.9216 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.06026, allocations: 1.759 MB / 0.9233 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.06038, allocations: 218.3 kB / 0.9235 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005034/0.06089, allocations: 308.3 kB / 0.9238 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003834/0.06472, allocations: 2.933 MB / 0.9267 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.501e-05/0.06479, allocations: 24 kB / 0.9267 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.06502, allocations: 127.9 kB / 0.9268 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002741/0.0653, allocations: 217.8 kB / 0.927 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.06708, allocations: 0.898 MB / 0.9279 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.08012, allocations: 13.64 MB / 0.9412 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.08075, allocations: 0.5117 MB / 0.9417 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.08119, allocations: 382.9 kB / 0.9421 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.08124, allocations: 17 kB / 0.9421 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.08128, allocations: 50.39 kB / 0.9421 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=107): time 2.815e-06/0.08128, allocations: 0 / 0.9421 GB, free: 4.684 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138): time 0.007886/0.08916, allocations: 3.817 MB / 0.9459 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.0892, allocations: 64.72 kB / 0.9459 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.09001, allocations: 0.9807 MB / 0.9469 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.09008, allocations: 49.7 kB / 0.9469 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006031/0.09069, allocations: 1.4 MB / 0.9483 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.09101, allocations: 0.5152 MB / 0.9488 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003142/0.09133, allocations: 301 kB / 0.9491 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.09143, allocations: 480.8 kB / 0.9496 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.09174, allocations: 231.8 kB / 0.9498 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.09246, allocations: 0.8141 MB / 0.9506 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.09348, allocations: 1.176 MB / 0.9517 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.09349, allocations: 7.938 kB / 0.9517 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002552/0.09604, allocations: 1.751 MB / 0.9534 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.09607, allocations: 12 kB / 0.9535 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.09609, allocations: 12 kB / 0.9535 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.0981, allocations: 0.8942 MB / 0.9543 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.09864, allocations: 227.6 kB / 0.9546 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/0.1063, allocations: 8.716 MB / 0.9631 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/0.1073, allocations: 48 kB / 0.9631 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.1074, allocations: 48 kB / 0.9632 GB, free: 14.28 MB / 0.9323 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.0007346/0.1081, allocations: 252.1 kB / 0.9634 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.1083, allocations: 203 kB / 0.9636 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.1107, allocations: 1.505 MB / 0.9651 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.1107, allocations: 12 kB / 0.9651 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1107, allocations: 12 kB / 0.9651 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.1107, allocations: 15.97 kB / 0.9651 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/0.1153, allocations: 3.208 MB / 0.9682 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1153, allocations: 4 kB / 0.9682 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.1156, allocations: 120 kB / 0.9683 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.1174, allocations: 0.8238 MB / 0.9692 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/0.1175, allocations: 31.94 kB / 0.9692 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007112/0.1246, allocations: 8.682 MB / 0.9777 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.1246, allocations: 7.938 kB / 0.9777 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.127, allocations: 1.734 MB / 0.9794 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/0.1275, allocations: 290.9 kB / 0.9796 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.1276, allocations: 28 kB / 0.9797 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.128, allocations: 28.19 kB / 0.9797 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.1283, allocations: 136.6 kB / 0.9798 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.1284, allocations: 36 kB / 0.9799 GB, free: 12.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004957/0.1289, allocations: 0.5456 MB / 0.9804 GB, free: 12 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1289, allocations: 0 / 0.9804 GB, free: 12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001823/0.1307, allocations: 0.6719 MB / 0.981 GB, free: 11.33 MB / 0.948 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.0002271/0.1309, allocations: 139 kB / 0.9812 GB, free: 11.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.1332, allocations: 1.948 MB / 0.9831 GB, free: 9.191 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1332, allocations: 0 / 0.9831 GB, free: 9.191 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.1348, allocations: 1.497 MB / 0.9845 GB, free: 7.637 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.1364, allocations: 485.1 kB / 0.985 GB, free: 7.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.1437, allocations: 4.789 MB / 0.9897 GB, free: 2.266 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.1446, allocations: 0.8115 MB / 0.9905 GB, free: 1.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006782/0.1453, allocations: 177.5 kB / 0.9906 GB, free: 1.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.1459, allocations: 453.9 kB / 0.9911 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of SimCode: time 1.873e-06/0.1459, allocations: 4 kB / 0.9911 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of Templates: time 0.04773/0.1937, allocations: 36.19 MB / 1.026 GB, free: 13.24 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.08636446390301]