Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001556/0.001556, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.00155/0.00155, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9178/0.9178, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.259/2.259, 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.293e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007788/0.007811, allocations: 9.631 MB / 0.8991 GB, free: 100 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007018/0.01483, allocations: 5.908 MB / 0.9049 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.0159, allocations: 83.25 kB / 0.905 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.01692, allocations: 377 kB / 0.9054 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.01992, allocations: 1.433 MB / 0.9068 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.02107, allocations: 0.6511 MB / 0.9074 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.02373, allocations: 2.615 MB / 0.9099 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.02515, allocations: 1.188 MB / 0.9111 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.02699, allocations: 1.586 MB / 0.9126 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.0282, allocations: 1.009 MB / 0.9136 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.02851, allocations: 164 kB / 0.9138 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.02907, allocations: 327.5 kB / 0.9141 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004032/0.02947, allocations: 0.6543 MB / 0.9147 GB, free: 44 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.03017, allocations: 0.6353 MB / 0.9154 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.03163, allocations: 1.534 MB / 0.9169 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.03163, allocations: 4 kB / 0.9169 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.213e-06/0.03163, allocations: 0 / 0.9169 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.05e-05/0.03168, allocations: 0 / 0.9169 GB, free: 13.86 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002421/0.0341, allocations: 2.139 MB / 0.919 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.03414, allocations: 8.625 kB / 0.919 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.03749, allocations: 0.8968 MB / 0.9198 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.03907, allocations: 1.145 MB / 0.921 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.03912, allocations: 86.73 kB / 0.921 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.03931, allocations: 124.4 kB / 0.9212 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.04121, allocations: 1.702 MB / 0.9228 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.04124, allocations: 19.81 kB / 0.9228 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.04135, allocations: 51.98 kB / 0.9229 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.04163, allocations: 130.2 kB / 0.923 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000979/0.04261, allocations: 0.6712 MB / 0.9237 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006572/0.04918, allocations: 7.813 MB / 0.9313 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.05028, allocations: 0.5921 MB / 0.9319 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.05063, allocations: 294.5 kB / 0.9322 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.05069, allocations: 17 kB / 0.9322 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.05072, allocations: 50.39 kB / 0.9322 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=89): time 3.667e-06/0.05072, allocations: 0 / 0.9322 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=131): time 0.007804/0.05853, allocations: 4.155 MB / 0.9363 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.05856, allocations: 64.72 kB / 0.9363 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.05925, allocations: 0.9245 MB / 0.9372 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.675e-05/0.05934, allocations: 61.64 kB / 0.9373 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.05972, allocations: 0.7929 MB / 0.9381 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.06001, allocations: 483.8 kB / 0.9385 GB, free: 7.012 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.06032, allocations: 265 kB / 0.9388 GB, free: 6.746 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.06047, allocations: 0.5432 MB / 0.9393 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.06086, allocations: 323.8 kB / 0.9396 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.06141, allocations: 0.675 MB / 0.9403 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009803/0.06239, allocations: 1.058 MB / 0.9413 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.0624, allocations: 4 kB / 0.9413 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003314/0.06571, allocations: 2.099 MB / 0.9434 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.06574, allocations: 11.98 kB / 0.9434 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.06575, allocations: 12.03 kB / 0.9434 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/0.0693, allocations: 1.346 MB / 0.9447 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.06996, allocations: 203.7 kB / 0.9449 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.08325, allocations: 25.95 MB / 0.9702 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.08418, allocations: 59.98 kB / 0.9703 GB, free: 4.59 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.08426, allocations: 47.97 kB / 0.9703 GB, free: 4.543 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.08466, allocations: 236.3 kB / 0.9706 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/0.08504, allocations: 191.1 kB / 0.9708 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.08816, allocations: 2.04 MB / 0.9727 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.08816, allocations: 12 kB / 0.9728 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.08819, allocations: 12 kB / 0.9728 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.08819, allocations: 3.984 kB / 0.9728 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/0.09284, allocations: 3.278 MB / 0.976 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.09284, allocations: 4 kB / 0.976 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/0.09331, allocations: 151.7 kB / 0.9761 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003125/0.09643, allocations: 1.268 MB / 0.9774 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.09652, allocations: 43.97 kB / 0.9774 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/0.1086, allocations: 25.14 MB / 1.002 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1086, allocations: 7.984 kB / 1.002 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.1117, allocations: 2.041 MB / 1.004 GB, free: 240 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.1122, allocations: 326.8 kB / 1.004 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.1123, allocations: 27.94 kB / 1.004 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.1129, allocations: 51.98 kB / 1.004 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.1132, allocations: 132.7 kB / 1.004 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.1132, allocations: 39.97 kB / 1.005 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003734/0.1136, allocations: 0.5409 MB / 1.005 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1136, allocations: 0 / 1.005 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001406/0.115, allocations: 0.582 MB / 1.006 GB, free: 14.54 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003541/0.1154, allocations: 146.4 kB / 1.006 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003153/0.1185, allocations: 3.715 MB / 1.009 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1185, allocations: 4 kB / 1.009 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.1208, allocations: 3.152 MB / 1.012 GB, free: 7.055 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.1222, allocations: 0.5252 MB / 1.013 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.1259, allocations: 2.947 MB / 1.016 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.1263, allocations: 459.1 kB / 1.016 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0008058/0.1272, allocations: 288.5 kB / 1.017 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007805/0.1279, allocations: 485.8 kB / 1.017 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of SimCode: time 1.793e-06/0.1279, allocations: 0 / 1.017 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of Templates: time 0.3678/0.4957, allocations: 44.16 MB / 1.06 GB, free: 163.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.197123955003917]