Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001/0.001, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001055/0.001055, allocations: 169 kB / 24.28 MB, free: 284 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.9114/0.9114, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.699/1.699, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.317e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02678/0.0268, allocations: 38.52 MB / 0.8247 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.03984, allocations: 11.27 MB / 0.8357 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.04169, allocations: 202.6 kB / 0.8359 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004794/0.04648, allocations: 4.5 MB / 0.8403 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.05048, allocations: 2.4 MB / 0.8427 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.05389, allocations: 2.194 MB / 0.8448 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00692/0.06081, allocations: 9.461 MB / 0.854 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005914/0.06672, allocations: 6.393 MB / 0.8603 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005552/0.07228, allocations: 5.824 MB / 0.866 GB, free: 11.75 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.07624, allocations: 4.482 MB / 0.8704 GB, free: 7.258 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000852/0.07709, allocations: 0.8281 MB / 0.8712 GB, free: 6.43 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.07901, allocations: 1.517 MB / 0.8726 GB, free: 4.91 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.08112, allocations: 3.426 MB / 0.876 GB, free: 1.477 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.08312, allocations: 2.597 MB / 0.8785 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.08798, allocations: 6.74 MB / 0.8851 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.08798, allocations: 0 / 0.8851 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.036e-06/0.08798, allocations: 3.984 kB / 0.8851 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.08804, allocations: 0 / 0.8851 GB, free: 8.113 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006019/0.09406, allocations: 6.691 MB / 0.8916 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.09409, allocations: 8.031 kB / 0.8917 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.09716, allocations: 1.702 MB / 0.8933 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.1005, allocations: 3.503 MB / 0.8967 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.1006, allocations: 423.7 kB / 0.8971 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005206/0.1012, allocations: 0.5589 MB / 0.8977 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/0.1073, allocations: 6.265 MB / 0.9038 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.452e-05/0.1074, allocations: 27.94 kB / 0.9038 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.1078, allocations: 248.3 kB / 0.9041 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003897/0.1082, allocations: 426.9 kB / 0.9045 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005103/0.1133, allocations: 2.148 MB / 0.9066 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.1363, allocations: 28.16 MB / 0.9341 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.1386, allocations: 1.415 MB / 0.9355 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.1401, allocations: 0.9332 MB / 0.9364 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.1402, allocations: 41.98 kB / 0.9364 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.1402, allocations: 59.39 kB / 0.9365 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=209): time 4.288e-06/0.1402, allocations: 0 / 0.9365 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212): time 0.01441/0.1546, allocations: 6.43 MB / 0.9427 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1547, allocations: 77.34 kB / 0.9428 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.1564, allocations: 1.688 MB / 0.9445 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.1565, allocations: 69.7 kB / 0.9445 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.1578, allocations: 2.529 MB / 0.947 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/0.1583, allocations: 0.7864 MB / 0.9478 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/0.1589, allocations: 484 kB / 0.9482 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.159, allocations: 480.7 kB / 0.9487 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.16, allocations: 465 kB / 0.9491 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.1615, allocations: 1.497 MB / 0.9506 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.1641, allocations: 2.155 MB / 0.9527 GB, free: 344 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.1641, allocations: 4 kB / 0.9527 GB, free: 340 kB / 0.9011 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004712/0.1688, allocations: 2.875 MB / 0.9555 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1688, allocations: 12 kB / 0.9555 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.1688, allocations: 24 kB / 0.9555 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/0.1718, allocations: 1.205 MB / 0.9567 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.173, allocations: 459.2 kB / 0.9572 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009493/0.1825, allocations: 12.4 MB / 0.9693 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.1833, allocations: 147.9 kB / 0.9694 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.1834, allocations: 104 kB / 0.9695 GB, free: 14.59 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008154/0.1842, allocations: 327.8 kB / 0.9698 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.1845, allocations: 342.3 kB / 0.9702 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.1874, allocations: 2.249 MB / 0.9724 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1874, allocations: 20 kB / 0.9724 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.1874, allocations: 24.06 kB / 0.9724 GB, free: 11.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.1874, allocations: 11.95 kB / 0.9724 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/0.1945, allocations: 6.178 MB / 0.9784 GB, free: 5.254 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1945, allocations: 4.562 kB / 0.9784 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.195, allocations: 235.6 kB / 0.9787 GB, free: 5.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.197, allocations: 1.061 MB / 0.9797 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.1971, allocations: 36 kB / 0.9797 GB, free: 3.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009551/0.2066, allocations: 12.35 MB / 0.9918 GB, free: 7.082 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2066, allocations: 4 kB / 0.9918 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.2099, allocations: 2.537 MB / 0.9943 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.2106, allocations: 0.5176 MB / 0.9948 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.2108, allocations: 40 kB / 0.9948 GB, free: 3.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/0.2114, allocations: 119.8 kB / 0.9949 GB, free: 3.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/0.2117, allocations: 189.5 kB / 0.9951 GB, free: 3.562 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.2118, allocations: 60 kB / 0.9952 GB, free: 3.504 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000857/0.2126, allocations: 0.9574 MB / 0.9961 GB, free: 2.531 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.2126, allocations: 0 / 0.9961 GB, free: 2.531 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002334/0.215, allocations: 1.148 MB / 0.9972 GB, free: 1.383 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002045/0.2152, allocations: 159.1 kB / 0.9974 GB, free: 1.219 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.2185, allocations: 3.127 MB / 1 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2185, allocations: 4 kB / 1 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.2207, allocations: 2.305 MB / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.2225, allocations: 0.8229 MB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009379/0.2318, allocations: 8.434 MB / 1.012 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.233, allocations: 1.396 MB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008919/0.2339, allocations: 463.1 kB / 1.014 GB, free: 372 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.2341, allocations: 148.5 kB / 1.014 GB, free: 224 kB / 0.9636 GB Notification: Performance of SimCode: time 1.653e-06/0.2341, allocations: 0 / 1.014 GB, free: 224 kB / 0.9636 GB Notification: Performance of Templates: time 0.3484/0.5825, allocations: 52.53 MB / 1.065 GB, free: 272.5 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.106858630198985]