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.001403/0.001403, allocations: 81.17 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.001382/0.001382, allocations: 169 kB / 23.27 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.9334/0.9334, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.355/2.355, allocations: 438.1 MB / 0.682 GB, free: 14.09 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.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.513e-06/1.513e-06, allocations: 0 / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.821e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.00903/0.009048, allocations: 11.58 MB / 0.9011 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004721/0.01377, allocations: 3.597 MB / 0.9046 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.01439, allocations: 111.2 kB / 0.9047 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.0152, allocations: 0.5004 MB / 0.9052 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.01636, allocations: 1.103 MB / 0.9063 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.01742, allocations: 1.018 MB / 0.9072 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.02057, allocations: 4.876 MB / 0.912 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.0232, allocations: 3.123 MB / 0.9151 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.02577, allocations: 2.998 MB / 0.918 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.02772, allocations: 2.373 MB / 0.9203 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004067/0.02813, allocations: 428 kB / 0.9207 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.02874, allocations: 0.5037 MB / 0.9212 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.02999, allocations: 1.812 MB / 0.923 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.031, allocations: 1.337 MB / 0.9243 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.03331, allocations: 3.358 MB / 0.9276 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.03331, allocations: 4 kB / 0.9276 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.343e-06/0.03332, allocations: 0 / 0.9276 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.423e-05/0.03336, allocations: 0 / 0.9276 GB, free: 2.77 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.003958/0.03732, allocations: 3.571 MB / 0.9311 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.03736, allocations: 8.625 kB / 0.9311 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.0391, allocations: 0.896 MB / 0.9319 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.04094, allocations: 1.759 MB / 0.9337 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.04106, allocations: 226.3 kB / 0.9339 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.04137, allocations: 300.3 kB / 0.9342 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.04434, allocations: 2.94 MB / 0.937 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/0.0444, allocations: 12.06 kB / 0.937 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.04459, allocations: 135.9 kB / 0.9372 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/0.04482, allocations: 213.8 kB / 0.9374 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.04608, allocations: 0.8941 MB / 0.9382 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.05904, allocations: 13.64 MB / 0.9516 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.05972, allocations: 0.5128 MB / 0.9521 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.06019, allocations: 374.4 kB / 0.9524 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.06024, allocations: 20.98 kB / 0.9524 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.06028, allocations: 50.39 kB / 0.9525 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=107): time 4.859e-06/0.06029, allocations: 0 / 0.9525 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138): time 0.007856/0.06814, allocations: 3.81 MB / 0.9562 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.0682, allocations: 72.59 kB / 0.9563 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/0.06909, allocations: 0.9805 MB / 0.9572 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.06915, allocations: 57.7 kB / 0.9573 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006455/0.0698, allocations: 1.396 MB / 0.9587 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.07011, allocations: 0.5075 MB / 0.9592 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.07041, allocations: 305 kB / 0.9594 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.07051, allocations: 476.8 kB / 0.9599 GB, free: 0.6953 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.07077, allocations: 227.8 kB / 0.9601 GB, free: 484 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.07132, allocations: 0.8219 MB / 0.9609 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/0.07223, allocations: 1.176 MB / 0.9621 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.07224, allocations: 4 kB / 0.9621 GB, free: 14 MB / 0.9323 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002171/0.07441, allocations: 1.755 MB / 0.9638 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.07443, allocations: 8 kB / 0.9638 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.07445, allocations: 15.98 kB / 0.9638 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.07629, allocations: 0.8902 MB / 0.9647 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.07674, allocations: 231.6 kB / 0.9649 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006743/0.08349, allocations: 8.718 MB / 0.9734 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.08429, allocations: 44 kB / 0.9735 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.08435, allocations: 51.98 kB / 0.9735 GB, free: 1.941 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.0006775/0.08503, allocations: 248.1 kB / 0.9737 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.08524, allocations: 203.1 kB / 0.9739 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.08726, allocations: 1.509 MB / 0.9754 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.08727, allocations: 16 kB / 0.9754 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.08728, allocations: 15.94 kB / 0.9754 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.08729, allocations: 7.969 kB / 0.9754 GB, free: 15.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.092, allocations: 3.215 MB / 0.9786 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.09201, allocations: 4 kB / 0.9786 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.09229, allocations: 111.8 kB / 0.9787 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.09404, allocations: 0.8241 MB / 0.9795 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.09409, allocations: 27.94 kB / 0.9795 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006776/0.1009, allocations: 8.695 MB / 0.988 GB, free: 2.562 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1009, allocations: 8 kB / 0.988 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.1032, allocations: 1.73 MB / 0.9897 GB, free: 0.7148 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.1036, allocations: 294.9 kB / 0.99 GB, free: 436 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1037, allocations: 28 kB / 0.99 GB, free: 408 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.1042, allocations: 28 kB / 0.9901 GB, free: 380 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.1045, allocations: 136.6 kB / 0.9902 GB, free: 240 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.1045, allocations: 31.98 kB / 0.9902 GB, free: 208 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004897/0.105, allocations: 0.5495 MB / 0.9907 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.105, allocations: 0 / 0.9907 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001703/0.1067, allocations: 0.6718 MB / 0.9914 GB, free: 14.98 MB / 0.9636 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.0002137/0.1069, allocations: 139.1 kB / 0.9915 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.1094, allocations: 1.96 MB / 0.9935 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.1094, allocations: 4 kB / 0.9935 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.1108, allocations: 1.486 MB / 0.9949 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.112, allocations: 483.8 kB / 0.9954 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.119, allocations: 4.77 MB / 1 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.1198, allocations: 0.8076 MB / 1.001 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007464/0.1205, allocations: 181.5 kB / 1.001 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/0.1211, allocations: 453.9 kB / 1.001 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of SimCode: time 2.424e-06/0.1211, allocations: 7.938 kB / 1.001 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of Templates: time 0.04641/0.1676, allocations: 35.62 MB / 1.036 GB, free: 1.484 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: 5.697624563239515]