Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001709/0.001709, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002131/0.002131, allocations: 173 kB / 23.49 MB, free: 1.055 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.9833/0.9833, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.156/2.156, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 4.859 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.117e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01524/0.01526, allocations: 20.58 MB / 0.8983 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007504/0.02277, allocations: 6.607 MB / 0.9047 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009708/0.02374, allocations: 111.2 kB / 0.9049 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.02648, allocations: 2.314 MB / 0.9071 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.0284, allocations: 1.27 MB / 0.9084 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.03032, allocations: 1.301 MB / 0.9096 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.03369, allocations: 4.947 MB / 0.9145 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.03648, allocations: 3.17 MB / 0.9175 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.03923, allocations: 3.04 MB / 0.9205 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.04139, allocations: 2.342 MB / 0.9228 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004919/0.04188, allocations: 436 kB / 0.9232 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.0432, allocations: 0.9514 MB / 0.9241 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.04427, allocations: 1.812 MB / 0.9259 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.04568, allocations: 1.349 MB / 0.9272 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.04847, allocations: 3.646 MB / 0.9308 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.04847, allocations: 0 / 0.9308 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.342e-06/0.04847, allocations: 0 / 0.9308 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.217e-05/0.0485, allocations: 0 / 0.9308 GB, free: 0.5938 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003746/0.05225, allocations: 3.669 MB / 0.9344 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.05228, allocations: 8.031 kB / 0.9344 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.05454, allocations: 1.025 MB / 0.9354 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.05641, allocations: 1.957 MB / 0.9373 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.05651, allocations: 222.3 kB / 0.9375 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.0568, allocations: 304.3 kB / 0.9378 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/0.06016, allocations: 3.14 MB / 0.9409 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.06021, allocations: 12.06 kB / 0.9409 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.06041, allocations: 135.9 kB / 0.941 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/0.06065, allocations: 229.7 kB / 0.9412 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.06259, allocations: 1.134 MB / 0.9423 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009827/0.07241, allocations: 14.42 MB / 0.9564 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.07313, allocations: 0.6015 MB / 0.957 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.07369, allocations: 446.4 kB / 0.9574 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.07374, allocations: 21 kB / 0.9574 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.07377, allocations: 46.39 kB / 0.9575 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=107): time 2.214e-06/0.07377, allocations: 4 kB / 0.9575 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138): time 0.00776/0.08153, allocations: 4.428 MB / 0.9618 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.08157, allocations: 68.72 kB / 0.9619 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.08234, allocations: 0.9851 MB / 0.9628 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.08241, allocations: 45.7 kB / 0.9629 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/0.08303, allocations: 1.404 MB / 0.9643 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.08332, allocations: 0.5114 MB / 0.9648 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.08363, allocations: 301.1 kB / 0.965 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.08371, allocations: 476.8 kB / 0.9655 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.08417, allocations: 315.8 kB / 0.9658 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/0.08489, allocations: 0.8807 MB / 0.9667 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.08623, allocations: 1.313 MB / 0.9679 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.08624, allocations: 4 kB / 0.968 GB, free: 9.121 MB / 0.9323 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002988/0.08923, allocations: 1.943 MB / 0.9698 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.08926, allocations: 15.88 kB / 0.9699 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.08927, allocations: 12 kB / 0.9699 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.09118, allocations: 0.8774 MB / 0.9707 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.09168, allocations: 259.5 kB / 0.971 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007739/0.09942, allocations: 9.066 MB / 0.9798 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.09997, allocations: 95.84 kB / 0.9799 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.1, allocations: 67.97 kB / 0.98 GB, free: 12.41 MB / 0.948 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006164/0.1007, allocations: 256.1 kB / 0.9802 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.1009, allocations: 199 kB / 0.9804 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.1034, allocations: 1.658 MB / 0.982 GB, free: 10.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.1034, allocations: 12 kB / 0.9821 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.1034, allocations: 12 kB / 0.9821 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1034, allocations: 7.969 kB / 0.9821 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004868/0.1083, allocations: 3.982 MB / 0.986 GB, free: 6.121 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.1083, allocations: 7.938 kB / 0.986 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.1086, allocations: 147.8 kB / 0.9861 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.1102, allocations: 0.8004 MB / 0.9869 GB, free: 5.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.1103, allocations: 32 kB / 0.9869 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/0.1174, allocations: 9.06 MB / 0.9958 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.1174, allocations: 7.938 kB / 0.9958 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.1199, allocations: 1.867 MB / 0.9976 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.1204, allocations: 322.8 kB / 0.9979 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.1205, allocations: 28 kB / 0.9979 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.1209, allocations: 87.89 kB / 0.998 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.1211, allocations: 128.6 kB / 0.9981 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.1212, allocations: 36 kB / 0.9982 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005667/0.1218, allocations: 0.5887 MB / 0.9987 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1218, allocations: 0 / 0.9987 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001753/0.1235, allocations: 0.6641 MB / 0.9994 GB, free: 7.875 MB / 0.9636 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.1237, allocations: 142.2 kB / 0.9995 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.1264, allocations: 2.104 MB / 1.002 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1264, allocations: 4.75 kB / 1.002 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.128, allocations: 1.579 MB / 1.003 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.1292, allocations: 486.3 kB / 1.004 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.1348, allocations: 4.797 MB / 1.008 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007387/0.1356, allocations: 0.8038 MB / 1.009 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000551/0.1361, allocations: 281.3 kB / 1.009 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.1363, allocations: 92.5 kB / 1.009 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of SimCode: time 1.563e-06/0.1363, allocations: 0 / 1.009 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of Templates: time 0.03648/0.1728, allocations: 33.49 MB / 1.042 GB, free: 12.49 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.4091838479507715]