Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0011/0.0011, 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.0009815/0.0009815, allocations: 161 kB / 24.16 MB, free: 336 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 1.112/1.112, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.34 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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.408e-05, allocations: 3.062 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01441/0.01443, allocations: 11.62 MB / 0.7714 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009165/0.0236, allocations: 3.712 MB / 0.775 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.02569, allocations: 111.2 kB / 0.7752 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.02731, allocations: 0.4979 MB / 0.7756 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.03033, allocations: 1.115 MB / 0.7767 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.03284, allocations: 1.014 MB / 0.7777 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007026/0.03987, allocations: 4.876 MB / 0.7825 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005631/0.0455, allocations: 3.314 MB / 0.7857 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0066/0.0521, allocations: 2.996 MB / 0.7886 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005403/0.0575, allocations: 2.301 MB / 0.7909 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.05989, allocations: 428 kB / 0.7913 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.06336, allocations: 0.5043 MB / 0.7918 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003126/0.06649, allocations: 1.81 MB / 0.7936 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003584/0.07007, allocations: 1.345 MB / 0.7949 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.07523, allocations: 3.346 MB / 0.7981 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.07524, allocations: 0 / 0.7981 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.794e-06/0.07524, allocations: 0 / 0.7981 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001303/0.07537, allocations: 2.75 kB / 0.7981 GB, free: 15.47 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003572/0.07894, allocations: 3.222 MB / 0.8013 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.07898, allocations: 12.02 kB / 0.8013 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.08096, allocations: 0.8166 MB / 0.8021 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.083, allocations: 1.571 MB / 0.8036 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.08312, allocations: 223.2 kB / 0.8038 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.08343, allocations: 296.3 kB / 0.8041 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.08635, allocations: 2.874 MB / 0.8069 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/0.08641, allocations: 16.02 kB / 0.807 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.08661, allocations: 127.9 kB / 0.8071 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002488/0.08685, allocations: 217.8 kB / 0.8073 GB, free: 5.75 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.08811, allocations: 0.7838 MB / 0.808 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009154/0.09727, allocations: 10.39 MB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.09785, allocations: 0.5374 MB / 0.8187 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.09827, allocations: 332.5 kB / 0.819 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.09832, allocations: 22.06 kB / 0.8191 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.09835, allocations: 43.56 kB / 0.8191 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=107): time 4.298e-06/0.09836, allocations: 1.25 kB / 0.8191 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.008271/0.1066, allocations: 3.925 MB / 0.8229 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1067, allocations: 64.41 kB / 0.823 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007903/0.1075, allocations: 0.892 MB / 0.8239 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.1075, allocations: 45.7 kB / 0.8239 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.1081, allocations: 1.195 MB / 0.8251 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.1083, allocations: 400.5 kB / 0.8255 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.1086, allocations: 243.3 kB / 0.8257 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1087, allocations: 365.8 kB / 0.826 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.1089, allocations: 147.9 kB / 0.8262 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1093, allocations: 0.5488 MB / 0.8267 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.11, allocations: 0.8407 MB / 0.8275 GB, free: 332 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.11, allocations: 4 kB / 0.8275 GB, free: 328 kB / 0.7761 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001517/0.1115, allocations: 1.158 MB / 0.8287 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1115, allocations: 13.88 kB / 0.8287 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.1115, allocations: 16 kB / 0.8287 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.1128, allocations: 0.5759 MB / 0.8293 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.1133, allocations: 239.6 kB / 0.8295 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/0.1181, allocations: 4.591 MB / 0.834 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.1187, allocations: 43.94 kB / 0.834 GB, free: 9.484 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.1187, allocations: 44 kB / 0.8341 GB, free: 9.441 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006156/0.1193, allocations: 192.3 kB / 0.8342 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.1195, allocations: 127.9 kB / 0.8344 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.1208, allocations: 0.9958 MB / 0.8353 GB, free: 8.098 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1208, allocations: 8 kB / 0.8353 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1208, allocations: 12 kB / 0.8353 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1208, allocations: 7.969 kB / 0.8354 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.1242, allocations: 2.191 MB / 0.8375 GB, free: 5.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1242, allocations: 4 kB / 0.8375 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.1245, allocations: 111.8 kB / 0.8376 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.1256, allocations: 0.5638 MB / 0.8382 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.1257, allocations: 20.11 kB / 0.8382 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.1299, allocations: 4.605 MB / 0.8427 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1299, allocations: 7.938 kB / 0.8427 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.1316, allocations: 1.131 MB / 0.8438 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.132, allocations: 207 kB / 0.844 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.1321, allocations: 24 kB / 0.844 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.1323, allocations: 20 kB / 0.844 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.1325, allocations: 108.7 kB / 0.8441 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.1326, allocations: 24 kB / 0.8442 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000351/0.1329, allocations: 433.9 kB / 0.8446 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.1329, allocations: 0 / 0.8446 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001326/0.1343, allocations: 0.5898 MB / 0.8451 GB, free: 13.71 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002117/0.1345, allocations: 112.2 kB / 0.8452 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.1363, allocations: 1.264 MB / 0.8465 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.352e-05/0.1363, allocations: 17.81 kB / 0.8465 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.1375, allocations: 0.9256 MB / 0.8474 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.1389, allocations: 466.7 kB / 0.8478 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00651/0.1454, allocations: 4.664 MB / 0.8524 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.1461, allocations: 0.7502 MB / 0.8531 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005783/0.1467, allocations: 172.5 kB / 0.8533 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/0.1473, allocations: 391.1 kB / 0.8537 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of SimCode: time 4.388e-06/0.1473, allocations: 0 / 0.8537 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of Templates: time 0.03999/0.1873, allocations: 29.36 MB / 0.8823 GB, free: 8.047 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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: 5.611017299816012]