Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001232/0.001232, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001423/0.001423, allocations: 161 kB / 24.17 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.96/0.96, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.923/1.923, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.41e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01605/0.01607, allocations: 20.96 MB / 0.7806 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.02509, allocations: 6.36 MB / 0.7868 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.0271, allocations: 198.6 kB / 0.787 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.02856, allocations: 0.9268 MB / 0.7879 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.03127, allocations: 2.047 MB / 0.7899 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.0337, allocations: 1.852 MB / 0.7917 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007197/0.0409, allocations: 9.326 MB / 0.8008 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006348/0.04725, allocations: 6.541 MB / 0.8072 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.05253, allocations: 5.748 MB / 0.8128 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.0564, allocations: 4.401 MB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.05711, allocations: 0.8203 MB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009962/0.05811, allocations: 0.9138 MB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.05999, allocations: 3.41 MB / 0.8221 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.0621, allocations: 2.586 MB / 0.8246 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.004348/0.06644, allocations: 6.339 MB / 0.8308 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.06645, allocations: 0 / 0.8308 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.352e-06/0.06645, allocations: 0 / 0.8308 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.58e-05/0.06652, allocations: 0.9688 kB / 0.8308 GB, free: 13.89 MB / 0.7917 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.00557/0.07209, allocations: 5.978 MB / 0.8367 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.07212, allocations: 12.03 kB / 0.8367 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.07459, allocations: 1.326 MB / 0.838 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.07735, allocations: 2.803 MB / 0.8407 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.07754, allocations: 431.7 kB / 0.8411 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005179/0.07806, allocations: 0.555 MB / 0.8417 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/0.08285, allocations: 5.733 MB / 0.8473 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-05/0.08294, allocations: 18.72 kB / 0.8473 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.08328, allocations: 248.3 kB / 0.8475 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/0.08363, allocations: 422.9 kB / 0.8479 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.08575, allocations: 1.482 MB / 0.8494 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.09965, allocations: 20.21 MB / 0.8691 GB, free: 5.473 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.101, allocations: 1.246 MB / 0.8703 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/0.1017, allocations: 0.7429 MB / 0.871 GB, free: 3.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.1018, allocations: 38 kB / 0.8711 GB, free: 3.441 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.1019, allocations: 60.56 kB / 0.8711 GB, free: 3.375 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 3.446e-06/0.1019, allocations: 0 / 0.8711 GB, free: 3.375 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.008768/0.1106, allocations: 4.971 MB / 0.876 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1107, allocations: 77.39 kB / 0.8761 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.1116, allocations: 1.563 MB / 0.8776 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.019e-05/0.1117, allocations: 61.7 kB / 0.8776 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009294/0.1126, allocations: 2.199 MB / 0.8798 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.113, allocations: 0.7551 MB / 0.8805 GB, free: 9.652 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/0.1134, allocations: 453.2 kB / 0.881 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.1135, allocations: 305.1 kB / 0.8813 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.1139, allocations: 289.2 kB / 0.8815 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.1146, allocations: 1.026 MB / 0.8825 GB, free: 7.281 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.1158, allocations: 1.578 MB / 0.8841 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.1158, allocations: 12 kB / 0.8841 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002604/0.1184, allocations: 2.111 MB / 0.8861 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1185, allocations: 12 kB / 0.8862 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.1185, allocations: 24.41 kB / 0.8862 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.1204, allocations: 1.052 MB / 0.8872 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.1212, allocations: 427.3 kB / 0.8876 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/0.1291, allocations: 9.324 MB / 0.8967 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.1298, allocations: 72 kB / 0.8968 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.1299, allocations: 84 kB / 0.8969 GB, free: 7.863 MB / 0.8542 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.0007279/0.1306, allocations: 275.9 kB / 0.8971 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.1309, allocations: 251.7 kB / 0.8974 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.1333, allocations: 1.766 MB / 0.8991 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1333, allocations: 20 kB / 0.8991 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1333, allocations: 16 kB / 0.8991 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.1333, allocations: 19.94 kB / 0.8992 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.1379, allocations: 3.87 MB / 0.9029 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1379, allocations: 8.031 kB / 0.9029 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.1384, allocations: 199.7 kB / 0.9031 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.1402, allocations: 1.006 MB / 0.9041 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.1403, allocations: 40 kB / 0.9042 GB, free: 256 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/0.1483, allocations: 9.29 MB / 0.9132 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1483, allocations: 7.938 kB / 0.9132 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.1504, allocations: 1.92 MB / 0.9151 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.1509, allocations: 402.1 kB / 0.9155 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.1511, allocations: 44 kB / 0.9155 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.1516, allocations: 43.94 kB / 0.9156 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.1519, allocations: 193.6 kB / 0.9158 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/0.1519, allocations: 52 kB / 0.9158 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00051/0.1524, allocations: 0.7545 MB / 0.9165 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1524, allocations: 4 kB / 0.9165 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001704/0.1541, allocations: 1.141 MB / 0.9177 GB, free: 1.918 MB / 0.8698 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.0001947/0.1543, allocations: 144.2 kB / 0.9178 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002704/0.157, allocations: 2.543 MB / 0.9203 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.323e-05/0.1571, allocations: 37.75 kB / 0.9203 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.1588, allocations: 1.869 MB / 0.9221 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.1603, allocations: 0.8084 MB / 0.9229 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/0.1692, allocations: 8.75 MB / 0.9315 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.1703, allocations: 1.4 MB / 0.9328 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000725/0.171, allocations: 315.4 kB / 0.9331 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.1724, allocations: 0.6943 MB / 0.9338 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/0.1724, allocations: 0 / 0.9338 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of Templates: time 0.06374/0.2361, allocations: 55.58 MB / 0.9881 GB, free: 10.55 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.000158333219588]