Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0011/0.0011, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001416/0.001416, allocations: 161.4 kB / 24.16 MB, free: 332 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.983/0.983, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 4 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.18e-05, allocations: 6.672 kB / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009946/0.009978, allocations: 9.692 MB / 0.7695 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006345/0.01632, allocations: 6.041 MB / 0.7754 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.01678, allocations: 87.19 kB / 0.7755 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.01749, allocations: 374.3 kB / 0.7759 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.01933, allocations: 1.427 MB / 0.7773 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.02025, allocations: 0.6744 MB / 0.7779 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.02206, allocations: 2.601 MB / 0.7805 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.0231, allocations: 1.25 MB / 0.7817 GB, free: 440 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.02436, allocations: 1.574 MB / 0.7832 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.0253, allocations: 0.9856 MB / 0.7842 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.02547, allocations: 160.6 kB / 0.7843 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.02591, allocations: 331.6 kB / 0.7846 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.0263, allocations: 0.6521 MB / 0.7853 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005135/0.02682, allocations: 0.643 MB / 0.7859 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.02805, allocations: 1.526 MB / 0.7874 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.02805, allocations: 0 / 0.7874 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.02805, allocations: 1.188 kB / 0.7874 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.02807, allocations: 0 / 0.7874 GB, free: 10.56 MB / 0.7448 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.001866/0.02993, allocations: 1.968 MB / 0.7893 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.02997, allocations: 8.031 kB / 0.7893 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.03316, allocations: 0.8438 MB / 0.7902 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.03431, allocations: 1.053 MB / 0.7912 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.03436, allocations: 90.73 kB / 0.7913 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.03452, allocations: 132.3 kB / 0.7914 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.03616, allocations: 1.613 MB / 0.793 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.03619, allocations: 11.88 kB / 0.793 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.0363, allocations: 59.92 kB / 0.793 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002681/0.03657, allocations: 139.6 kB / 0.7932 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.03734, allocations: 0.5588 MB / 0.7937 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.04259, allocations: 5.724 MB / 0.7993 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.04362, allocations: 0.5568 MB / 0.7999 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.04396, allocations: 255.8 kB / 0.8001 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.317e-05/0.04402, allocations: 17.75 kB / 0.8001 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.04406, allocations: 47.55 kB / 0.8002 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.04406, allocations: 2.375 kB / 0.8002 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90): time 0.00682/0.05088, allocations: 3.213 MB / 0.8033 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.05092, allocations: 72.28 kB / 0.8034 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.05149, allocations: 0.8519 MB / 0.8042 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.05156, allocations: 41.7 kB / 0.8042 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.05182, allocations: 0.5768 MB / 0.8048 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.05203, allocations: 325.1 kB / 0.8051 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.05227, allocations: 186.7 kB / 0.8053 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.05236, allocations: 349.9 kB / 0.8056 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.05263, allocations: 194.5 kB / 0.8058 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.05301, allocations: 440.5 kB / 0.8062 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.0537, allocations: 0.7077 MB / 0.8069 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0537, allocations: 0 / 0.8069 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001854/0.05555, allocations: 1.206 MB / 0.8081 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.05557, allocations: 15.97 kB / 0.8081 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.05558, allocations: 8 kB / 0.8081 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/0.0575, allocations: 0.7735 MB / 0.8089 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.0581, allocations: 211.6 kB / 0.8091 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007353/0.06545, allocations: 12.39 MB / 0.8212 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.06597, allocations: 51.98 kB / 0.8212 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.06605, allocations: 39.95 kB / 0.8213 GB, free: 6.277 MB / 0.7761 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002889/0.06634, allocations: 174 kB / 0.8214 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.0665, allocations: 115.9 kB / 0.8215 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.06835, allocations: 1.185 MB / 0.8227 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.06836, allocations: 12 kB / 0.8227 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.06836, allocations: 4 kB / 0.8227 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.06837, allocations: 19.95 kB / 0.8227 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.07115, allocations: 2.019 MB / 0.8247 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.07115, allocations: 4 kB / 0.8247 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.07162, allocations: 143.7 kB / 0.8248 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.07343, allocations: 0.7506 MB / 0.8256 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.0735, allocations: 23.97 kB / 0.8256 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/0.08061, allocations: 12.07 MB / 0.8374 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.08062, allocations: 0 / 0.8374 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.08238, allocations: 1.192 MB / 0.8386 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.08268, allocations: 239 kB / 0.8388 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.0828, allocations: 16 kB / 0.8388 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.08324, allocations: 43.97 kB / 0.8388 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.08342, allocations: 92.77 kB / 0.8389 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.08348, allocations: 31.97 kB / 0.839 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003047/0.08378, allocations: 429 kB / 0.8394 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.9e-07/0.08378, allocations: 0 / 0.8394 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001043/0.08483, allocations: 471.9 kB / 0.8398 GB, free: 2.129 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.08503, allocations: 120.3 kB / 0.8399 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.08694, allocations: 1.936 MB / 0.8418 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/0.08695, allocations: 16.5 kB / 0.8418 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.08832, allocations: 1.598 MB / 0.8434 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.08942, allocations: 0.5149 MB / 0.8439 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.09247, allocations: 2.507 MB / 0.8463 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.09278, allocations: 388.2 kB / 0.8467 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007129/0.09349, allocations: 295.2 kB / 0.847 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.09429, allocations: 407 kB / 0.8474 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of SimCode: time 1.222e-06/0.09429, allocations: 0 / 0.8474 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.03528/0.1296, allocations: 34.35 MB / 0.8809 GB, free: 8.34 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.742681813891977]