Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001285/0.001285, 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.0009031/0.0009031, allocations: 170 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.8751/0.8751, allocations: 177.2 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.207/2.207, 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.102e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.009092/0.009103, allocations: 13.02 MB / 0.9025 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004105/0.01321, allocations: 3.856 MB / 0.9062 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.01368, allocations: 127 kB / 0.9064 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.01446, allocations: 0.5352 MB / 0.9069 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.0158, allocations: 1.511 MB / 0.9084 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.0168, allocations: 1.1 MB / 0.9094 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.02006, allocations: 5.958 MB / 0.9153 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.02268, allocations: 3.166 MB / 0.9183 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.02543, allocations: 3.426 MB / 0.9217 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.0277, allocations: 2.927 MB / 0.9246 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.02814, allocations: 452 kB / 0.925 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.02882, allocations: 0.6011 MB / 0.9256 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.02999, allocations: 2.218 MB / 0.9277 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.03104, allocations: 1.493 MB / 0.9292 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.03332, allocations: 3.88 MB / 0.933 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.03333, allocations: 0 / 0.933 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.82e-07/0.03333, allocations: 0 / 0.933 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.243e-05/0.03337, allocations: 4 kB / 0.933 GB, free: 13.26 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003283/0.03665, allocations: 4 MB / 0.9369 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.03669, allocations: 8.625 kB / 0.9369 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.03925, allocations: 1.196 MB / 0.9381 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.04104, allocations: 1.997 MB / 0.94 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.04115, allocations: 246.3 kB / 0.9403 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.04144, allocations: 315.9 kB / 0.9406 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.04426, allocations: 3.347 MB / 0.9438 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.04431, allocations: 19.83 kB / 0.9438 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.04451, allocations: 139.9 kB / 0.944 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002796/0.04479, allocations: 406.3 kB / 0.9444 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.0463, allocations: 1.078 MB / 0.9454 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.05738, allocations: 18.77 MB / 0.9637 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.05785, allocations: 391 kB / 0.9641 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.05829, allocations: 462.3 kB / 0.9646 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/0.05837, allocations: 21 kB / 0.9646 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.05839, allocations: 46.39 kB / 0.9646 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=110): time 2.265e-06/0.05839, allocations: 0 / 0.9646 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179): time 0.01415/0.07255, allocations: 7.927 MB / 0.9724 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.07258, allocations: 77.41 kB / 0.9724 GB, free: 3.699 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.07338, allocations: 1.226 MB / 0.9736 GB, free: 2.449 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.07347, allocations: 49.7 kB / 0.9737 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006526/0.07412, allocations: 1.667 MB / 0.9753 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.07446, allocations: 0.6545 MB / 0.9759 GB, free: 52 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.07488, allocations: 373 kB / 0.9763 GB, free: 15.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.07498, allocations: 480.8 kB / 0.9768 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.07545, allocations: 383.8 kB / 0.9771 GB, free: 14.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/0.07627, allocations: 1.18 MB / 0.9783 GB, free: 13.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.07772, allocations: 1.76 MB / 0.98 GB, free: 11.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.07772, allocations: 8 kB / 0.98 GB, free: 11.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006176/0.0839, allocations: 4.057 MB / 0.984 GB, free: 7.105 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.08392, allocations: 16.03 kB / 0.984 GB, free: 7.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.08394, allocations: 16 kB / 0.984 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006151/0.09009, allocations: 2.792 MB / 0.9867 GB, free: 4.262 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.09058, allocations: 275.5 kB / 0.987 GB, free: 3.992 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/0.1059, allocations: 17.53 MB / 1.004 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.1067, allocations: 52 kB / 1.004 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.1068, allocations: 68 kB / 1.004 GB, free: 1.656 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006867/0.1075, allocations: 280.1 kB / 1.004 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.1078, allocations: 258.7 kB / 1.005 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/0.1139, allocations: 3.922 MB / 1.009 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1139, allocations: 16 kB / 1.009 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/0.1139, allocations: 27.94 kB / 1.009 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1139, allocations: 7.969 kB / 1.009 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/0.1227, allocations: 6.074 MB / 1.015 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.1227, allocations: 8.125 kB / 1.015 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.123, allocations: 139.7 kB / 1.015 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005953/0.129, allocations: 2.685 MB / 1.017 GB, free: 3.988 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.129, allocations: 39.94 kB / 1.017 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.1439, allocations: 17.46 MB / 1.034 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1439, allocations: 8 kB / 1.034 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.1499, allocations: 4.025 MB / 1.038 GB, free: 13.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.1505, allocations: 438.4 kB / 1.039 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.1506, allocations: 32 kB / 1.039 GB, free: 13.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.1511, allocations: 36 kB / 1.039 GB, free: 13.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/0.1515, allocations: 180.9 kB / 1.039 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.1516, allocations: 43.92 kB / 1.039 GB, free: 12.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004344/0.152, allocations: 0.6552 MB / 1.04 GB, free: 12.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.152, allocations: 0 / 1.04 GB, free: 12.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002085/0.1541, allocations: 1.117 MB / 1.041 GB, free: 11.12 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.1543, allocations: 155 kB / 1.041 GB, free: 10.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004416/0.1587, allocations: 3.87 MB / 1.045 GB, free: 6.973 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1587, allocations: 0 / 1.045 GB, free: 6.973 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003342/0.1621, allocations: 3.113 MB / 1.048 GB, free: 3.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.1633, allocations: 0.5137 MB / 1.048 GB, free: 3.246 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.313/0.4763, allocations: 5.928 MB / 1.054 GB, free: 168.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009584/0.4773, allocations: 1.005 MB / 1.055 GB, free: 168.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000551/0.4778, allocations: 186.8 kB / 1.055 GB, free: 168.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.4783, allocations: 460.6 kB / 1.056 GB, free: 168.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/0.4783, allocations: 0 / 1.056 GB, free: 168.6 MB / 1.01 GB Notification: Performance of Templates: time 0.07463/0.553, allocations: 66.88 MB / 1.121 GB, free: 152.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.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.19990906631574]