Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00144/0.00144, 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.0016/0.0016, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.485/1.485, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.748/2.748, allocations: 359 MB / 0.6048 GB, free: 10.92 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_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.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.065e-05, allocations: 2.859 kB / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02664/0.02667, allocations: 19.14 MB / 0.8051 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.04052, allocations: 6.401 MB / 0.8113 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.04329, allocations: 111.2 kB / 0.8114 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00671/0.05, allocations: 2.253 MB / 0.8136 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.05407, allocations: 1.272 MB / 0.8149 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.05796, allocations: 1.296 MB / 0.8162 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007316/0.06528, allocations: 4.95 MB / 0.821 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006334/0.07161, allocations: 3.159 MB / 0.8241 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00594/0.07755, allocations: 2.996 MB / 0.827 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004288/0.08184, allocations: 2.182 MB / 0.8291 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0009127/0.08275, allocations: 437.1 kB / 0.8295 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.08504, allocations: 0.9592 MB / 0.8305 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002262/0.08731, allocations: 1.8 MB / 0.8322 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.08967, allocations: 1.346 MB / 0.8336 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.09835, allocations: 6.697 MB / 0.8401 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.09835, allocations: 4 kB / 0.8401 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.744e-06/0.09835, allocations: 1.219 kB / 0.8401 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001547/0.09851, allocations: 0 / 0.8401 GB, free: 4.512 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007849/0.1064, allocations: 3.442 MB / 0.8435 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1064, allocations: 8.031 kB / 0.8435 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/0.111, allocations: 1.071 MB / 0.8445 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/0.1159, allocations: 2.129 MB / 0.8466 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.1161, allocations: 222.3 kB / 0.8468 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007581/0.1169, allocations: 308.3 kB / 0.8471 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.127, allocations: 5.242 MB / 0.8522 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-05/0.1271, allocations: 8.125 kB / 0.8522 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/0.1274, allocations: 135.9 kB / 0.8524 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005233/0.1279, allocations: 225.7 kB / 0.8526 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007323/0.1353, allocations: 3.746 MB / 0.8562 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02252/0.1578, allocations: 13.24 MB / 0.8692 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.1599, allocations: 1.223 MB / 0.8704 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.1615, allocations: 0.9797 MB / 0.8713 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.1616, allocations: 21 kB / 0.8713 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.1616, allocations: 43.56 kB / 0.8714 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.1616, allocations: 0 / 0.8714 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of matching and sorting (n=138): time 0.02777/0.1894, allocations: 8.471 MB / 0.8797 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.1895, allocations: 64.72 kB / 0.8797 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.1913, allocations: 1.071 MB / 0.8808 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.1915, allocations: 49.7 kB / 0.8808 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.1928, allocations: 1.35 MB / 0.8821 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/0.1933, allocations: 0.4919 MB / 0.8826 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008115/0.1941, allocations: 299.4 kB / 0.8829 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1943, allocations: 301.1 kB / 0.8832 GB, free: 7.582 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.1958, allocations: 0.894 MB / 0.8841 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.1979, allocations: 1.372 MB / 0.8854 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.2018, allocations: 2.475 MB / 0.8878 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.2019, allocations: 8 kB / 0.8878 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007839/0.2097, allocations: 3.504 MB / 0.8912 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.2097, allocations: 15.94 kB / 0.8913 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/0.2098, allocations: 20.12 kB / 0.8913 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004488/0.2143, allocations: 1.313 MB / 0.8926 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.2154, allocations: 267.5 kB / 0.8928 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.2382, allocations: 13.29 MB / 0.9058 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.2396, allocations: 88.3 kB / 0.9059 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.2399, allocations: 71.98 kB / 0.9059 GB, free: 15.54 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (136): * Single equations (assignments): 133 * 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,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00236/0.2422, allocations: 1.118 MB / 0.907 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/0.2428, allocations: 207 kB / 0.9072 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00695/0.2498, allocations: 3.113 MB / 0.9103 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.2498, allocations: 16 kB / 0.9103 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/0.2498, allocations: 12 kB / 0.9103 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.2498, allocations: 7.969 kB / 0.9103 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.2621, allocations: 5.449 MB / 0.9156 GB, free: 5.477 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.2621, allocations: 7.938 kB / 0.9156 GB, free: 5.469 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.2628, allocations: 143.8 kB / 0.9158 GB, free: 5.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004047/0.2669, allocations: 1.205 MB / 0.9169 GB, free: 4.117 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.267, allocations: 28 kB / 0.917 GB, free: 4.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/0.288, allocations: 12.98 MB / 0.9296 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.288, allocations: 11.88 kB / 0.9297 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006742/0.2948, allocations: 3.143 MB / 0.9327 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.2959, allocations: 346.9 kB / 0.9331 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/0.2962, allocations: 28 kB / 0.9331 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/0.2972, allocations: 75.91 kB / 0.9332 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.2977, allocations: 136.6 kB / 0.9333 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.2978, allocations: 36 kB / 0.9333 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001345/0.2991, allocations: 0.7063 MB / 0.934 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.2991, allocations: 0 / 0.934 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002487/0.3016, allocations: 0.6641 MB / 0.9347 GB, free: 1.59 MB / 0.8386 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.0003099/0.3019, allocations: 139.1 kB / 0.9348 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0058/0.3077, allocations: 2.996 MB / 0.9377 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.3078, allocations: 0 / 0.9377 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/0.3114, allocations: 1.885 MB / 0.9396 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.3141, allocations: 480.5 kB / 0.94 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.3261, allocations: 5.578 MB / 0.9455 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/0.3294, allocations: 1.769 MB / 0.9472 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001242/0.3306, allocations: 341.5 kB / 0.9475 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.3309, allocations: 84.5 kB / 0.9476 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of SimCode: time 1.623e-06/0.3309, allocations: 4 kB / 0.9476 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of Templates: time 0.06115/0.3921, allocations: 32.82 MB / 0.9797 GB, free: 3.941 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.567097687046044]