Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001966/0.001966, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002681/0.002681, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.719/2.719, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.495e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006845/0.00688, allocations: 4.103 MB / 0.7904 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.01127, allocations: 2.304 MB / 0.7926 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.01153, allocations: 25.22 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.01275, allocations: 375.7 kB / 0.793 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.01377, allocations: 399.9 kB / 0.7934 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.01466, allocations: 325.5 kB / 0.7937 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.01558, allocations: 0.6983 MB / 0.7944 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.01602, allocations: 238.7 kB / 0.7946 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000736/0.01676, allocations: 368.3 kB / 0.795 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.01719, allocations: 235.3 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.01725, allocations: 32 kB / 0.7952 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000735/0.01798, allocations: 387.5 kB / 0.7956 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.01819, allocations: 152.5 kB / 0.7957 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.01841, allocations: 159.5 kB / 0.7959 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.01946, allocations: 0.7553 MB / 0.7966 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01947, allocations: 0.75 kB / 0.7966 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01947, allocations: 3.938 kB / 0.7966 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.01948, allocations: 0.7188 kB / 0.7966 GB, free: 2.309 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001296/0.02077, allocations: 0.7161 MB / 0.7973 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.02081, allocations: 8.562 kB / 0.7973 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.02232, allocations: 281.4 kB / 0.7976 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/0.02304, allocations: 394.7 kB / 0.798 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.02307, allocations: 21.38 kB / 0.798 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.02315, allocations: 36.36 kB / 0.798 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.02426, allocations: 0.728 MB / 0.7987 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.02428, allocations: 8.125 kB / 0.7988 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.02433, allocations: 12.38 kB / 0.7988 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/0.02443, allocations: 63.84 kB / 0.7988 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.02527, allocations: 0.4899 MB / 0.7993 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.02904, allocations: 3.137 MB / 0.8024 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.03091, allocations: 0.6046 MB / 0.803 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.03121, allocations: 170.5 kB / 0.8031 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.03124, allocations: 8 kB / 0.8031 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.03127, allocations: 34.56 kB / 0.8032 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.03128, allocations: 4 kB / 0.8032 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002523/0.0338, allocations: 1.066 MB / 0.8042 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.03389, allocations: 111.8 kB / 0.8043 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.03437, allocations: 385.4 kB / 0.8047 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.03441, allocations: 30.8 kB / 0.8047 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.03466, allocations: 292 kB / 0.805 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.03478, allocations: 119 kB / 0.8051 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.03495, allocations: 103.3 kB / 0.8052 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.03516, allocations: 350.8 kB / 0.8055 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.03548, allocations: 177.2 kB / 0.8057 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.03598, allocations: 373.3 kB / 0.8061 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/0.03686, allocations: 0.5958 MB / 0.8066 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.03687, allocations: 0 / 0.8066 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001283/0.03815, allocations: 0.7028 MB / 0.8073 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.03817, allocations: 8 kB / 0.8073 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.03818, allocations: 4 kB / 0.8073 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.03861, allocations: 102.4 kB / 0.8074 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.03905, allocations: 111.8 kB / 0.8075 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.04333, allocations: 3.97 MB / 0.8114 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.04371, allocations: 27.97 kB / 0.8114 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.04376, allocations: 24 kB / 0.8115 GB, free: 2.207 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.04405, allocations: 197.6 kB / 0.8117 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.04419, allocations: 59.7 kB / 0.8117 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.04522, allocations: 0.519 MB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.04522, allocations: 4 kB / 0.8122 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.04523, allocations: 0 / 0.8122 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.04524, allocations: 7.984 kB / 0.8122 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.04719, allocations: 1.15 MB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.0472, allocations: 4 kB / 0.8134 GB, free: 172 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.04745, allocations: 60.19 kB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.0478, allocations: 102.4 kB / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.04784, allocations: 8.047 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.05191, allocations: 3.962 MB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.05191, allocations: 7.938 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.05311, allocations: 0.7866 MB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.05329, allocations: 75.67 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.05335, allocations: 11.94 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.05367, allocations: 27.97 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.05374, allocations: 31.89 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.05377, allocations: 12 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003206/0.05409, allocations: 259.2 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.05409, allocations: 8.031 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007418/0.05483, allocations: 124 kB / 0.8187 GB, free: 10.34 MB / 0.7761 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 (33): * Single equations (assignments): 30 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.05501, allocations: 115.1 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.05639, allocations: 0.7806 MB / 0.8196 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.05639, allocations: 0 / 0.8196 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.05721, allocations: 0.5362 MB / 0.8201 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.05814, allocations: 145 kB / 0.8202 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.05981, allocations: 0.9045 MB / 0.8211 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.06013, allocations: 268.3 kB / 0.8214 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.06041, allocations: 100.3 kB / 0.8215 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.06052, allocations: 36.48 kB / 0.8215 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.06052, allocations: 4 kB / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of Templates: time 0.01275/0.07327, allocations: 5.887 MB / 0.8272 GB, free: 1.551 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.052253299974836]